SklearnSVM.predict

SklearnSVM.predict(data)[source]

Predict using the SVM

Parameters

data (numpy.ndarray) – NxD array, where N is the number of data, D is the feature dimension.

Returns

predicted labels, Nx1 array

Return type

numpy.ndarray