deephyper.predictor.Predictor

deephyper.predictor.Predictor#

class deephyper.predictor.Predictor[source]#

Bases: ABC

Base class that represents a model f(X) = y that can predict.

Methods

predict

Predicts the target for the inputs.

abstract predict(X: ndarray)[source]#

Predicts the target for the inputs.

Parameters:

X (np.ndarray) – the inputs.

Returns:

the predicted target.

Return type:

np.ndarray