TrainableModel.fit¶
- abstract TrainableModel.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)