NeuralNetworkRegressor.fit¶
- NeuralNetworkRegressor.fit(X, y)[sorgente]¶
Fit the model to data matrix X and target(s) y.
- Parametri
X (
ndarray
) – The input data.y (
ndarray
) – The target values.
- Ritorna
returns a trained model.
- Tipo di ritorno
self
- Solleva
QiskitMachineLearningError – In case of invalid data (e.g. incompatible with network)