Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Error when execute SVM program

2012-11-01
2012-11-01
  • Hi, tried the SVM example as in the documentation, http://mlpy.sourceforge.net/docs/3.5/svm.html stucked at this line:

    Traceback (most recent call last):
    File "svm.py", line 6, in <module>
    svm = mlpy.LibSvm(svm_type='c_svc', kernel_type='rbf', gamma=100)
    TypeError: init() got an unexpected keyword argument 'kernel_type'

    How to solve this problem? I followed the example line by line but cannot proceed due to this error.