hosa.optimization.hosa.HOSACNN.score
- HOSACNN.score(x, y, **kwargs)
Computes the performance metrics on the given input data and target values in the best model found.
- Parameters
x (numpy.ndarray) – Input data.
y (numpy.ndarray) – Target values (class labels in classification, real numbers in regression).
**kwargs – Only used for classification, in order to set the value of the parameter
imbalance_correction.
- Returns
tuple – Returns a tuple containing the performance metric according to the type of model.