Skip to content

Commit

Permalink
Finally fixed multiclasslibsvm example
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Apr 21, 2012
1 parent c473349 commit 4799988
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,7 +1,7 @@
#include <shogun/features/Labels.h>
#include <shogun/features/SimpleFeatures.h>
#include <shogun/kernel/GaussianKernel.h>
#include <shogun/machine/MulticlassLibSVM.h>
#include <shogun/multiclass/MulticlassLibSVM.h>
#include <shogun/base/init.h>

using namespace shogun;
Expand Down Expand Up @@ -36,7 +36,7 @@ int main(int argc, char** argv)
kernel->init(features, features);

// create libsvm with C=10 and train
CLibSVMMulticlass* svm = new CLibSVMMulticlass(10, kernel, labels);
CMulticlassLibSVM* svm = new CMulticlassLibSVM(10, kernel, labels);
svm->train();

// classify on training examples
Expand Down

0 comments on commit 4799988

Please sign in to comment.