sklearn.svm Module

From GM-RKB
Jump to navigation Jump to search

A sklearn.svm Module is an sklearn module of Support Vector Machine Systems.



References

2018

The disadvantages of support vector machines include:
The support vector machines in scikit-learn support both dense (numpy.ndarray and convertible to that by numpy.asarray) and sparse (any scipy.sparse) sample vectors as input. However, to use an SVM to make predictions for sparse data, it must have been fit on such data. For optimal performance, use C-ordered numpy.ndarray (dense) or scipy.sparse.csr_matrix (sparse) with dtype=float64.