I am using the weka machine learning library in C# with IKVM. So far it worked very well, however, I am having problem using the libSVM package.
The problem appears when I want to instantiate the libsvm classifier in C# (the class is not found), as it is advised:
AbstractClassifier classifier = (AbstractClassifier)java.lang.Class.forName("weka.classifiers.functions.LibSVM").newInstance();
What I tried:
- Add the the libsvm.dll and weka.dll to the project (converted from libsvm.jar and weka.jar)
- Merge libsvm.jar and weka.jar into one dll and add it to the project (using ikvm or ilmerge)
Note that the package is installed since it appears in the result of
WekaPackageManager.getInstalledPackages();
Has anyone every succeeded using Weka with LibSVM in C# using IKVM?
Thanks, Botond
Aucun commentaire:
Enregistrer un commentaire