Malayalam
ഭാഷകൾ
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.

Parameters
  • X (ndarray) -- The input data.

  • y (ndarray) -- The target values.

Returns

returns a trained model.

Return type

self

Raises

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