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
- Tipo del valor devuelto:
- Devuelve:
The predicted classes.