immuneML.hyperparameter_optimization package¶
Subpackages¶
- immuneML.hyperparameter_optimization.config package
- Submodules
- immuneML.hyperparameter_optimization.config.LeaveOneOutConfig module
- immuneML.hyperparameter_optimization.config.ManualSplitConfig module
- immuneML.hyperparameter_optimization.config.ReportConfig module
- immuneML.hyperparameter_optimization.config.SplitConfig module
- immuneML.hyperparameter_optimization.config.SplitType module
- Module contents
- immuneML.hyperparameter_optimization.core package
- immuneML.hyperparameter_optimization.states package
- Submodules
- immuneML.hyperparameter_optimization.states.HPAssessmentState module
- immuneML.hyperparameter_optimization.states.HPItem module
- immuneML.hyperparameter_optimization.states.HPLabelState module
- immuneML.hyperparameter_optimization.states.HPSelectionState module
- immuneML.hyperparameter_optimization.states.TrainMLModelState module
- Module contents
- immuneML.hyperparameter_optimization.strategy package
Submodules¶
immuneML.hyperparameter_optimization.HPSetting module¶
-
class
immuneML.hyperparameter_optimization.HPSetting.
HPSetting
(encoder: immuneML.encodings.DatasetEncoder.DatasetEncoder, encoder_params: dict, ml_method: immuneML.ml_methods.MLMethod.MLMethod, ml_params: dict, preproc_sequence: list, encoder_name: Optional[str] = None, ml_method_name: Optional[str] = None, preproc_sequence_name: Optional[str] = None)[source]¶ Bases:
object
immuneML.hyperparameter_optimization.HPSettingResult module¶
-
class
immuneML.hyperparameter_optimization.HPSettingResult.
HPSettingResult
(optimal_setting: immuneML.hyperparameter_optimization.HPSetting.HPSetting, all_settings: dict)[source]¶ Bases:
object
HPSettingResult encapsulates the results from evaluating a set of different hyperparameter settings (e.g. on one train/test split in the outer loop of nested cross-validation) - it stores the optimal setting which can be used to assess the performance on the task, and all settings if needed for downstream analysis.