Russian
Языки
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese
Shortcuts



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)