French
Langues
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese
Shortcuts



NeuralNetworkRegressor.fit

NeuralNetworkRegressor.fit(X, y)[source]

Fit the model to data matrix X and target(s) y.

Paramètres
  • X (ndarray) – The input data.

  • y (ndarray) – The target values.

Renvoie

returns a trained model.

Type renvoyé

self

Lève

QiskitMachineLearningError – In case of invalid data (e.g. incompatible with network)