Skip to content

Commit

Permalink
knn and conjugate to multiclass
Browse files Browse the repository at this point in the history
  • Loading branch information
gsomix committed Apr 23, 2012
1 parent eeaa056 commit 15afb6f
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
4 changes: 0 additions & 4 deletions src/interfaces/modular/Classifier.i
Expand Up @@ -20,7 +20,6 @@
%rename(GNPPSVM) CGNPPSVM;
%rename(GPBTSVM) CGPBTSVM;
%rename(GaussianNaiveBayes) CGaussianNaiveBayes;
%rename(KNN) CKNN;
%rename(LDA) CLDA;
%rename(QDA) CQDA;
%rename(LibLinear) CLibLinear;
Expand Down Expand Up @@ -51,7 +50,6 @@
%rename(MKLClassification) CMKLClassification;
%rename(MKLOneClass) CMKLOneClass;
%rename(VowpalWabbit) CVowpalWabbit;
%rename(ConjugateIndex) CConjugateIndex;
#ifdef USE_SVMLIGHT
%rename(SVMLight) CSVMLight;
%rename(DomainAdaptationSVM) CDomainAdaptationSVM;
Expand Down Expand Up @@ -83,7 +81,6 @@
%include <shogun/classifier/GaussianNaiveBayes.h>
%include <shogun/classifier/svm/GNPPSVM.h>
%include <shogun/classifier/svm/GPBTSVM.h>
%include <shogun/classifier/KNN.h>
%include <shogun/classifier/LDA.h>
%include <shogun/classifier/QDA.h>
%include <shogun/classifier/svm/LibLinear.h>
Expand All @@ -109,7 +106,6 @@
%include <shogun/classifier/mkl/MKLOneClass.h>
%include <shogun/classifier/vw/VowpalWabbit.h>
%include <shogun/classifier/svm/DomainAdaptationSVMLinear.h>
%include <shogun/classifier/ConjugateIndex.h>
%include <shogun/classifier/svm/NewtonSVM.h>

%include <shogun/multiclass/MulticlassStrategy.h>
Expand Down
2 changes: 0 additions & 2 deletions src/interfaces/modular/Classifier_includes.i
Expand Up @@ -3,7 +3,6 @@
#include <shogun/classifier/svm/GNPPSVM.h>
#include <shogun/classifier/svm/GPBTSVM.h>
#include <shogun/machine/DistanceMachine.h>
#include <shogun/classifier/KNN.h>
#include <shogun/classifier/LDA.h>
#include <shogun/classifier/QDA.h>
#include <shogun/classifier/svm/LibLinear.h>
Expand Down Expand Up @@ -33,7 +32,6 @@
#include <shogun/classifier/mkl/MKLClassification.h>
#include <shogun/classifier/mkl/MKLOneClass.h>
#include <shogun/classifier/vw/VowpalWabbit.h>
#include <shogun/classifier/ConjugateIndex.h>
#include <shogun/classifier/svm/NewtonSVM.h>

#include <shogun/multiclass/MulticlassStrategy.h>
Expand Down
4 changes: 4 additions & 0 deletions src/interfaces/modular/Multiclass.i
Expand Up @@ -16,6 +16,8 @@
%rename(LaRank) CLaRank;
%rename(ScatterSVM) CScatterSVM;
%rename(GMNPSVM) CGMNPSVM;
%rename(KNN) CKNN;
%rename(ConjugateIndex) CConjugateIndex;

/* Include Class Headers to make them visible from within the target language */
%include <shogun/multiclass/MulticlassLibLinear.h>
Expand All @@ -25,4 +27,6 @@
%include <shogun/multiclass/LaRank.h>
%include <shogun/multiclass/ScatterSVM.h>
%include <shogun/multiclass/GMNPSVM.h>
%include <shogun/multiclass/KNN.h>
%include <shogun/multiclass/ConjugateIndex.h>

2 changes: 2 additions & 0 deletions src/interfaces/modular/Multiclass_includes.i
Expand Up @@ -6,4 +6,6 @@
#include <shogun/multiclass/MulticlassLibSVM.h>
#include <shogun/multiclass/GMNPSVM.h>
#include <shogun/multiclass/ScatterSVM.h>
#include <shogun/multiclass/KNN.h>
#include <shogun/multiclass/ConjugateIndex.h>
%}
2 changes: 1 addition & 1 deletion src/shogun/clustering/GMM.cpp
Expand Up @@ -18,7 +18,7 @@
#include <shogun/mathematics/Math.h>
#include <shogun/mathematics/lapack.h>
#include <shogun/features/Labels.h>
#include <shogun/classifier/KNN.h>
#include <shogun/multiclass/KNN.h>

using namespace shogun;

Expand Down
Expand Up @@ -8,7 +8,7 @@
* Copyright (C) 2011 Sergey Lisitsyn
*/

#include <shogun/classifier/ConjugateIndex.h>
#include <shogun/multiclass/ConjugateIndex.h>
#ifdef HAVE_LAPACK
#include <shogun/machine/Machine.h>
#include <shogun/features/Features.h>
Expand Down
File renamed without changes.
Expand Up @@ -11,7 +11,7 @@
* Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society
*/

#include <shogun/classifier/KNN.h>
#include <shogun/multiclass/KNN.h>
#include <shogun/features/Labels.h>
#include <shogun/mathematics/Math.h>
#include <shogun/lib/Signal.h>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/shogun/ui/GUIClassifier.cpp
Expand Up @@ -20,7 +20,7 @@

#include <shogun/kernel/AUCKernel.h>

#include <shogun/classifier/KNN.h>
#include <shogun/multiclass/KNN.h>
#include <shogun/clustering/KMeans.h>
#include <shogun/clustering/Hierarchical.h>
#include <shogun/classifier/PluginEstimate.h>
Expand Down

0 comments on commit 15afb6f

Please sign in to comment.