NeuralNetworkRegressor.fit¶
- NeuralNetworkRegressor.fit(X, y)[source]¶
Fit the model to data matrix X and target(s) y.
- Tham số
X (
ndarray
) -- The input data.y (
ndarray
) -- The target values.
- Trả về
returns a trained model.
- Kiểu trả về
self
- Đưa ra
QiskitMachineLearningError -- In case of invalid data (e.g. incompatible with network)