TrainableModel.predict¶
- abstract TrainableModel.predict(X)[source]¶
Predict using the network specified to the model.
- Paramètres:
X (ndarray) – The input data.
- Lève:
QiskitMachineLearningError – Model needs to be fit to some training data first
- Renvoie:
The predicted classes.
- Type renvoyé: