Permalink
Browse files

Do not support precomputed kernels in sparse matrices.

  • Loading branch information...
1 parent 2c3d9e2 commit 1f423882cd36087a28576061096705b4cd35c2d7 @fabianp fabianp committed Dec 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scikits/learn/svm/sparse/base.py
@@ -10,7 +10,7 @@
class SparseBaseLibSVM(BaseLibSVM):
- _kernel_types = ['linear', 'poly', 'rbf', 'sigmoid', 'precomputed']
+ _kernel_types = ['linear', 'poly', 'rbf', 'sigmoid']
_svm_types = ['c_svc', 'nu_svc', 'one_class', 'epsilon_svr', 'nu_svr']
def __init__(self, impl, kernel, degree, gamma, coef0, cache_size,

0 comments on commit 1f42388

Please sign in to comment.