TrainableModel.predict¶
- abstract TrainableModel.predict(X)[sorgente]¶
Predict using the network specified to the model.
- Parametri:
X (
ndarray
) – The input data.- Solleva:
QiskitMachineLearningError – Model needs to be fit to some training data first
- Tipo di ritorno:
- Ritorna:
The predicted classes.