(self, X)
return Y_predict
Predict the class index of the feature X
Predict the class index of the feature X
Predict the class index of the feature X
def predict(self, X):
        ''' Predict the class index of the feature X '''
        Y_predict = self.clf.predict(self.pca.transform(X))
        return Y_predict
def predict ( self , X ) : Y_predict = self . clf . predict ( self . pca . transform ( X ) ) return Y_predict