immuneML.example_weighting package¶ Subpackages¶ immuneML.example_weighting.predefined_weighting package Submodules immuneML.example_weighting.predefined_weighting.PredefinedWeighting module PredefinedWeighting PredefinedWeighting.build_object() PredefinedWeighting.compute_weights() Module contents Submodules¶ immuneML.example_weighting.ExampleWeightingParams module¶ class immuneML.example_weighting.ExampleWeightingParams.ExampleWeightingParams(result_path: pathlib.Path, pool_size: int = 4, learn_model: bool = True)[source]¶ Bases: object learn_model: bool = True¶ pool_size: int = 4¶ result_path: Path¶ immuneML.example_weighting.ExampleWeightingStrategy module¶ class immuneML.example_weighting.ExampleWeightingStrategy.ExampleWeightingStrategy(name)[source]¶ Bases: object abstract static build_object(dataset, **params)[source]¶ abstract compute_weights(dataset, params: ExampleWeightingParams)[source]¶ set_context(context: dict)[source]¶ Module contents¶