TrainableModel.predict¶
- abstract TrainableModel.predict(X)[source]¶
Predict using the network specified to the model.
- Tham số
X (
ndarray
) -- The input data.- Đưa ra
QiskitMachineLearningError -- Model needs to be fit to some training data first
- Kiểu trả về
ndarray
- Trả về
The predicted classes.