TrainableModel.predict¶
- abstract TrainableModel.predict(X)[ソース]¶
Predict using the network specified to the model.
- パラメータ:
X (
ndarray
) – The input data.- 例外:
QiskitMachineLearningError – Model needs to be fit to some training data first
- 戻り値の型:
- 戻り値:
The predicted classes.