helix.components.forms package

Submodules

helix.components.forms.forms_fi module

Feature importance form components for Helix.

This module contains form components for configuring feature importance analysis: - Global feature importance methods (Permutation, SHAP) - Ensemble methods (Mean, Majority Vote) - Local feature importance methods (LIME, SHAP) - Fuzzy feature importance options

helix.components.forms.forms_fi.fi_options_form()

Form for configuring feature importance options.

helix.components.forms.forms_ml_opts module

Machine Learning model options forms for Helix.

This module contains form functions for both selecting and configuring different machine learning models through Streamlit UI elements. Each function handles the parameter configuration for a specific model type, supporting both manual parameter setting and hyperparameter search options.

Functions:
  • ml_options_form: The main form for setting up the machine learning pipeline.

  • _linear_model_opts: Configuration for linear regression/classification

  • _random_forest_opts: Configuration for random forest models

  • _xgboost_opts: Configuration for XGBoost models

  • _svm_opts: Configuration for Support Vector Machines

  • _mlrem_opts: Configuration for Multiple Linear Regression with EM

  • _brnn_opts: Configuration for Bayesian Regularised Neural Networks

helix.components.forms.forms_ml_opts.ml_options_form(problem_type: ProblemTypes = ProblemTypes.Regression)

The form for setting up the machine learning pipeline.

helix.components.forms.forms_plots module

helix.components.forms.forms_plots.correlation_heatmap_form(data, data_analysis_plot_dir, plot_opts: PlottingOptions, key_prefix: str = '')

Form to create the correlation heatmap plot.

Uses plot-specific settings that are not saved between sessions.

helix.components.forms.forms_plots.pairplot_form(data, data_analysis_plot_dir, plot_opts: PlottingOptions, key_prefix: str = '')

Form to create the pairplot plot.

Uses plot-specific settings that are not saved between sessions.

helix.components.forms.forms_plots.tSNE_plot_form(data, random_state, data_analysis_plot_dir, plot_opts: PlottingOptions, scaler: Normalisations = None, key_prefix: str = '')
helix.components.forms.forms_plots.target_variable_dist_form(data, dep_var_name, data_analysis_plot_dir, plot_opts: PlottingOptions, key_prefix: str = '')

Form to create the target variable distribution plot.

Uses plot-specific settings that are not saved between sessions.

helix.components.forms.forms_preprocessing module

helix.components.forms.forms_preprocessing.preprocessing_opts_form(data: DataFrame, problem_type: ProblemTypes)

Module contents