NeuralNetworkRegressor.fit¶
- NeuralNetworkRegressor.fit(X, y)[fuente]¶
Fit the model to data matrix X and target(s) y.
- Parámetros
X (
ndarray
) – The input data.y (
ndarray
) – The target values.
- Devuelve
returns a trained model.
- Tipo del valor devuelto
self
- Muestra
QiskitMachineLearningError – In case of invalid data (e.g. incompatible with network)