mlrl.testbed_sklearn.experiments.prediction.extension module¶
Author: Michael Rapp (michael.rapp.ml@gmail.com)
Provides classes that allow configuring the functionality to obtain predictions from a machine learning model.
- class mlrl.testbed_sklearn.experiments.prediction.extension.PredictionTypeExtension(*dependencies: Extension)¶
Bases:
ExtensionAn extension that configures the type of predictions to be obtained from a machine learning model.
- PREDICTION_TYPE = <mlrl.util.cli.EnumArgument object>¶
- static get_prediction_type(args: Namespace) PredictionType¶
Returns the PredictionType to be used for obtaining predictions from a machine learning model according to the configuration.
- Parameters:
args – The command line arguments specified by the user
- Returns:
The PredictionType to be used
- get_supported_modes() set[ExperimentMode]¶
See
mlrl.testbed.extensions.extension.Extension.get_supported_modes()