hosa.models.rnn.rnn_models.BaseRNN.fit

abstract BaseRNN.fit(x, y, **kwargs)[source]

Fits the model to data matrix x and target(s) y.

Parameters
  • x (numpy.ndarray) – Input data.

  • y (numpy.ndarray) – Target values (class labels in classification, real numbers in regression).

  • **kwargs – Extra arguments explicitly used for regression or classification models.