immuneML.workflows.steps.data_splitter package
Submodules
immuneML.workflows.steps.data_splitter.DataSplitter module
- class immuneML.workflows.steps.data_splitter.DataSplitter.DataSplitter[source]
Bases:
immuneML.workflows.steps.Step.Step
- static k_fold_split(input_params: immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams)[source]
- static leave_one_out_stratification_split(input_params: immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams)[source]
- static loocv_split(input_params: immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams)[source]
- static manual_split(input_params: immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams)[source]
- static random_split(input_params: immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams)[source]
- static run(input_params: Optional[immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams] = None)[source]
- static stratified_k_fold_split(input_params: immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams)[source]
immuneML.workflows.steps.data_splitter.DataSplitterParams module
- class immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams(dataset: immuneML.data_model.dataset.Dataset.Dataset, split_strategy: immuneML.hyperparameter_optimization.config.SplitType.SplitType, split_count: int, training_percentage: float = - 1, paths: list = None, split_config: immuneML.hyperparameter_optimization.config.SplitConfig.SplitConfig = None, label_config: immuneML.environment.LabelConfiguration.LabelConfiguration = None)[source]
Bases:
immuneML.workflows.steps.StepParams.StepParams
- label_config: immuneML.environment.LabelConfiguration.LabelConfiguration = None
- paths: list = None
- split_config: immuneML.hyperparameter_optimization.config.SplitConfig.SplitConfig = None
- split_count: int
- split_strategy: immuneML.hyperparameter_optimization.config.SplitType.SplitType
- training_percentage: float = -1
immuneML.workflows.steps.data_splitter.LeaveOneOutSplitter module
- class immuneML.workflows.steps.data_splitter.LeaveOneOutSplitter.LeaveOneOutSplitter[source]
Bases:
object
- static split_dataset(input_params: immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams)[source]
immuneML.workflows.steps.data_splitter.ManualSplitter module
- class immuneML.workflows.steps.data_splitter.ManualSplitter.ManualSplitter[source]
Bases:
object
- static split_dataset(input_params: immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams)[source]
immuneML.workflows.steps.data_splitter.Util module
- class immuneML.workflows.steps.data_splitter.Util.Util[source]
Bases:
object
- static make_dataset(dataset: immuneML.data_model.dataset.Dataset.Dataset, indices, input_params: immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams, i: int, dataset_type: str)[source]
- static prepare_path(input_params: immuneML.workflows.steps.data_splitter.DataSplitterParams.DataSplitterParams, split_index: int) str [source]