TrainableModel.predict

abstract TrainableModel.predict(X)[fuente]

Predict using the network specified to the model.

Parámetros:

X (ndarray) – The input data.

Muestra:

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

Devuelve:

The predicted classes.

Tipo del valor devuelto:

ndarray