NeuralNetworkRegressor.fit¶
- NeuralNetworkRegressor.fit(X, y)[ソース]¶
Fit the model to data matrix X and target(s) y.
- パラメータ
X (
ndarray
) – The input data.y (
ndarray
) – The target values.
- 戻り値
returns a trained model.
- 戻り値の型
self
- 例外
QiskitMachineLearningError – In case of invalid data (e.g. incompatible with network)