hosa.models.cnn.cnn_models.CNNClassification.prepare
- CNNClassification.prepare(x, y)[source]
Prepares the model by adding the layers to the estimator: input layer, GofLayers, flatten and dense layers.
- Parameters
x (numpy.ndarray) – Input data.
y (numpy.ndarray) – Target values (i.e., class labels).