hyperimpute.plugins.prediction package
- class PredictionPlugin
Bases:
Plugin
Base class for the prediction plugins.
It provides the implementation for plugin.Plugin.type() static method.
- Each derived class must implement the following methods(inherited from plugin.Plugin):
name() - a static method that returns the name of the plugin. hyperparameter_space() - a static method that returns the hyperparameters that can be tuned during the optimization. The method will return a list of params.Params derived objects. _fit() - internal implementation, called by the fit method. _predict() - internal implementation, called by the predict method. _predict_proba() - internal implementation, called by the predict_proba method.
If any method implementation is missing, the class constructor will fail.
- _abc_impl = <_abc_data object>
- abstract _predict_proba(X: DataFrame, *args: Any, **kwargs: Any) DataFrame
- _transform(X: DataFrame) DataFrame
- explain(X: DataFrame, *args: Any, **kwargs: Any) DataFrame
- module_relative_path: Optional[Path]
- predict_proba(X: DataFrame, *args: Any, **kwargs: Any) DataFrame
- score(X: DataFrame, y: DataFrame, metric: str = 'aucroc') float
- static type() str
- class Predictions(category: str = 'classifier')
Bases:
object
- add(name: str, cls: Type) Predictions
- get(name: str, *args: Any, **kwargs: Any) PredictionPlugin
- get_type(name: str) Type
- list() List[str]
- reload() Predictions
Subpackages
- hyperimpute.plugins.prediction.classifiers package
ClassifierPlugin
Classifiers
- Submodules
- hyperimpute.plugins.prediction.classifiers.base module
- hyperimpute.plugins.prediction.classifiers.plugin_catboost module
- hyperimpute.plugins.prediction.classifiers.plugin_kneighbors module
- hyperimpute.plugins.prediction.classifiers.plugin_logistic_regression module
- hyperimpute.plugins.prediction.classifiers.plugin_neural_nets module
- hyperimpute.plugins.prediction.classifiers.plugin_random_forest module
- hyperimpute.plugins.prediction.classifiers.plugin_svc module
- hyperimpute.plugins.prediction.classifiers.plugin_xgboost module
- hyperimpute.plugins.prediction.regression package
Regression
RegressionPlugin
- Submodules
- hyperimpute.plugins.prediction.regression.base module
- hyperimpute.plugins.prediction.regression.plugin_catboost_regressor module
- hyperimpute.plugins.prediction.regression.plugin_kneighbors_regressor module
- hyperimpute.plugins.prediction.regression.plugin_linear_regression module
- hyperimpute.plugins.prediction.regression.plugin_mlp_regressor module
- hyperimpute.plugins.prediction.regression.plugin_neural_nets_regression module
- hyperimpute.plugins.prediction.regression.plugin_random_forest_regressor module
- hyperimpute.plugins.prediction.regression.plugin_svm module
- hyperimpute.plugins.prediction.regression.plugin_xgboost_regressor module