hosa.models.rnn.rnn_models.BaseRNN.score
- abstract BaseRNN.score(x, y, **kwargs)[source]
Computes the performance metric(s) (e.g., accuracy for classification) on the given input data and target values.
- Parameters
x (numpy.ndarray) – Input data.
y (numpy.ndarray) – Target values (class labels in classification, real numbers in regression).
**kwargs – Extra arguments that are explicitly used for regression or classification models.