immuneML.IO.ml_method package

Submodules

immuneML.IO.ml_method.MLExporter module

class immuneML.IO.ml_method.MLExporter.MLExporter[source]

Bases: object

static export(hp_item: HPItem, path: Path) Path[source]
static export_zip(hp_item: HPItem, path: Path, label_name: str) str[source]

immuneML.IO.ml_method.MLImport module

class immuneML.IO.ml_method.MLImport.MLImport[source]

Bases: object

static import_encoder(config: MLMethodConfiguration, config_dir: Path)[source]
static import_hp_setting(config_dir: Path) Tuple[HPSetting, Label][source]
static import_label(config: MLMethodConfiguration) Label[source]
static import_preprocessing_sequence(config: MLMethodConfiguration, config_dir) List[Preprocessor][source]

immuneML.IO.ml_method.MLMethodConfiguration module

class immuneML.IO.ml_method.MLMethodConfiguration.MLMethodConfiguration(label_name: str = None, label_values: list = None, label_positive_class: str = None, encoding_name: str = None, encoding_class: str = None, encoding_parameters: dict = None, encoding_file: str = None, preprocessing_sequence_name: str = None, preprocessing_parameters: dict = None, preprocessing_file: str = None, ml_method: str = None, ml_method_name: str = None, train_dataset_id: str = None, train_dataset_name: str = None, software_used: str = None)[source]

Bases: object

encoding_class: str = None
encoding_file: str = None
encoding_name: str = None
encoding_parameters: dict = None
label_name: str = None
label_positive_class: str = None
label_values: list = None
load(path: Path)[source]
ml_method: str = None
ml_method_name: str = None
preprocessing_file: str = None
preprocessing_parameters: dict = None
preprocessing_sequence_name: str = None
software_used: str = None
store(path: Path)[source]
train_dataset_id: str = None
train_dataset_name: str = None

immuneML.IO.ml_method.UtilIO module

class immuneML.IO.ml_method.UtilIO.UtilIO[source]

Bases: object

static export_comparison_data(comp_data: ComparisonData, path: Path)[source]
static export_pairwise_comparison(pairwise_comparison: PairwiseRepertoireComparison, path: Path) Path[source]
static import_comparison_data(path: Path) ComparisonData[source]
static import_pairwise_comparison(path: Path) PairwiseRepertoireComparison[source]

Module contents