immuneML.workflows.steps.data_splitter package

Submodules

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

dataset: immuneML.data_model.dataset.Dataset.Dataset
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]

Module contents