Malayalam
ഭാഷകൾ
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese



TrainableModel.predict

abstract TrainableModel.predict(X)[source]

Predict using the network specified to the model.

Parameters:

X (ndarray) -- The input data.

Raises:

QiskitMachineLearningError -- Model needs to be fit to some training data first

Return type:

ndarray

Returns:

The predicted classes.