deephyper.predictor.sklearn.SklearnPredictor

deephyper.predictor.sklearn.SklearnPredictor#

class deephyper.predictor.sklearn.SklearnPredictor(model: sklearn.base.BaseEstimator)[source]#

Bases: Predictor

Represents a frozen Scikit-Learn model that can only predict.

Methods

predict

Predicts the target for the inputs.

predict(X)[source]#

Predicts the target for the inputs.

Parameters:

X (np.ndarray) – the inputs.

Returns:

the predicted target.

Return type:

np.ndarray