Changeset 450
- Timestamp:
- Dec 15, 2005, 9:59:21 PM (18 years ago)
- Location:
- trunk/lib/svm
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/svm/ConsensusInputRanker.cc
r301 r450 2 2 3 3 4 #include <c++_tools/ svm/ConsensusInputRanker.h>4 #include <c++_tools/classifier/ConsensusInputRanker.h> 5 5 6 6 #include <c++_tools/gslapi/matrix.h> 7 7 #include <c++_tools/statistics/utility.h> 8 #include <c++_tools/ svm/CrossValidation.h>9 #include <c++_tools/ svm/InputRanker.h>8 #include <c++_tools/classifier/CrossValidation.h> 9 #include <c++_tools/classifier/InputRanker.h> 10 10 #include <c++_tools/utility/stl_utility.h> 11 11 … … 14 14 15 15 namespace theplu { 16 namespace svm{16 namespace classifier { 17 17 18 18 ConsensusInputRanker::ConsensusInputRanker(const gslapi::matrix& data, … … 92 92 93 93 94 }} // of namespace svmand namespace theplu94 }} // of namespace classifier and namespace theplu -
trunk/lib/svm/ConsensusInputRanker.h
r295 r450 1 1 // $Id$ 2 2 3 #ifndef _theplu_ svm_consensusinputranker_4 #define _theplu_ svm_consensusinputranker_3 #ifndef _theplu_classifier_consensusinputranker_ 4 #define _theplu_classifier_consensusinputranker_ 5 5 6 #include <c++_tools/ svm/InputRanker.h>6 #include <c++_tools/classifier/InputRanker.h> 7 7 8 8 namespace theplu { … … 10 10 class gslapi::vector; 11 11 class statistics::Score; 12 namespace svm{12 namespace classifier { 13 13 14 14 /// … … 65 65 }; 66 66 67 }} // of namespace svmand namespace theplu67 }} // of namespace classifier and namespace theplu 68 68 69 69 #endif -
trunk/lib/svm/CrossValidation.cc
r377 r450 3 3 4 4 #include <c++_tools/gslapi/vector.h> 5 #include <c++_tools/ svm/CrossValidation.h>5 #include <c++_tools/classifier/CrossValidation.h> 6 6 #include <c++_tools/random/random.h> 7 7 … … 9 9 10 10 namespace theplu { 11 namespace svm{11 namespace classifier { 12 12 13 13 CrossValidation::CrossValidation(const theplu::gslapi::vector& target, … … 57 57 } 58 58 59 }} // of namespace svmand namespace theplu59 }} // of namespace classifier and namespace theplu -
trunk/lib/svm/CrossValidation.h
r295 r450 1 1 // $Id$ 2 2 3 #ifndef _theplu_ svm_crossvalidation_4 #define _theplu_ svm_crossvalidation_3 #ifndef _theplu_classifier_crossvalidation_ 4 #define _theplu_classifier_crossvalidation_ 5 5 6 6 #include <vector> … … 10 10 class vector; 11 11 } 12 namespace svm{12 namespace classifier { 13 13 14 14 /// … … 43 43 }; 44 44 45 }} // of namespace svmand namespace theplu45 }} // of namespace classifier and namespace theplu 46 46 47 47 #endif -
trunk/lib/svm/GaussianKernelFunction.cc
r353 r450 1 1 // $Id$ 2 2 3 #include <c++_tools/ svm/GaussianKernelFunction.h>3 #include <c++_tools/classifier/GaussianKernelFunction.h> 4 4 5 #include <c++_tools/ svm/KernelFunction.h>5 #include <c++_tools/classifier/KernelFunction.h> 6 6 #include <c++_tools/gslapi/matrix.h> 7 7 #include <c++_tools/gslapi/vector.h> … … 10 10 11 11 namespace theplu { 12 namespace svm{12 namespace classifier { 13 13 14 14 GaussianKernelFunction::GaussianKernelFunction(double sigma) -
trunk/lib/svm/GaussianKernelFunction.h
r353 r450 1 1 // $Id$ 2 2 3 #ifndef _theplu_ svm_gaussian_kernel_function_4 #define _theplu_ svm_gaussian_kernel_function_3 #ifndef _theplu_classifier_gaussian_kernel_function_ 4 #define _theplu_classifier_gaussian_kernel_function_ 5 5 6 6 #include <c++_tools/gslapi/vector.h> 7 #include <c++_tools/ svm/KernelFunction.h>7 #include <c++_tools/classifier/KernelFunction.h> 8 8 9 9 #include <cmath> … … 12 12 class gslapi::vector; 13 13 14 namespace svm{14 namespace classifier { 15 15 16 16 /// … … 55 55 }; // class GaussianKernelFunction 56 56 57 }} // of namespace svmand namespace theplu57 }} // of namespace classifier and namespace theplu 58 58 59 59 #endif -
trunk/lib/svm/InputRanker.cc
r420 r450 1 1 // $Id$ 2 2 3 #include <c++_tools/ svm/InputRanker.h>3 #include <c++_tools/classifier/InputRanker.h> 4 4 5 5 #include <c++_tools/gslapi/matrix.h> … … 12 12 13 13 namespace theplu { 14 namespace svm{14 namespace classifier { 15 15 16 16 … … 88 88 89 89 90 }} // of namespace svmand namespace theplu90 }} // of namespace classifier and namespace theplu -
trunk/lib/svm/InputRanker.h
r420 r450 1 1 // $Id$ 2 2 3 #ifndef _theplu_ svm_inputranker_4 #define _theplu_ svm_inputranker_3 #ifndef _theplu_classifier_inputranker_ 4 #define _theplu_classifier_inputranker_ 5 5 6 6 #include <vector> … … 14 14 class Score; 15 15 } 16 namespace svm{16 namespace classifier { 17 17 /// 18 18 /// Class for ranking rows in a matrix, using a Score and a … … 71 71 72 72 73 }} // of namespace svmand namespace theplu73 }} // of namespace classifier and namespace theplu 74 74 75 75 #endif -
trunk/lib/svm/Kernel.h
r429 r450 1 1 // $Id$ 2 2 3 #ifndef _theplu_ svm_kernel_4 #define _theplu_ svm_kernel_3 #ifndef _theplu_classifier_kernel_ 4 #define _theplu_classifier_kernel_ 5 5 6 6 #include <cctype> … … 12 12 } 13 13 14 namespace svm{14 namespace classifier { 15 15 16 16 class KernelFunction; … … 69 69 }; // class Kernel 70 70 71 }} // of namespace svmand namespace theplu71 }} // of namespace classifier and namespace theplu 72 72 73 73 #endif -
trunk/lib/svm/KernelFunction.h
r353 r450 1 1 // $Id$ 2 2 3 #ifndef _theplu_ svm_kernel_function_4 #define _theplu_ svm_kernel_function_3 #ifndef _theplu_classifier_kernel_function_ 4 #define _theplu_classifier_kernel_function_ 5 5 6 6 namespace theplu { … … 11 11 } 12 12 13 namespace svm{13 namespace classifier { 14 14 15 15 /// … … 46 46 }; // class KernelFunction 47 47 48 }} // of namespace svmand namespace theplu48 }} // of namespace classifier and namespace theplu 49 49 50 50 #endif -
trunk/lib/svm/KernelView.cc
r446 r450 1 1 // $Id$ 2 2 3 #include <c++_tools/ svm/KernelView.h>3 #include <c++_tools/classifier/KernelView.h> 4 4 5 #include <c++_tools/ svm/KernelFunction.h>5 #include <c++_tools/classifier/KernelFunction.h> 6 6 7 7 8 8 namespace theplu { 9 namespace svm{9 namespace classifier { 10 10 11 11 KernelView::KernelView(const Kernel& kernel, const std::vector<size_t>& index) … … 23 23 } 24 24 25 }} // of namespace svmand namespace theplu25 }} // of namespace classifier and namespace theplu -
trunk/lib/svm/KernelView.h
r446 r450 1 1 // $Id$ 2 2 3 #ifndef _theplu_ svm_kernel_view_4 #define _theplu_ svm_kernel_view_3 #ifndef _theplu_classifier_kernel_view_ 4 #define _theplu_classifier_kernel_view_ 5 5 6 #include <c++_tools/ svm/Kernel.h>6 #include <c++_tools/classifier/Kernel.h> 7 7 #include <vector> 8 8 9 9 namespace theplu { 10 namespace svm{10 namespace classifier { 11 11 12 12 class KernelFunction; … … 69 69 }; // class KernelView 70 70 71 }} // of namespace svmand namespace theplu71 }} // of namespace classifier and namespace theplu 72 72 73 73 #endif -
trunk/lib/svm/Kernel_MEV.cc
r420 r450 1 1 // $Id$ 2 2 3 #include <c++_tools/ svm/Kernel_MEV.h>3 #include <c++_tools/classifier/Kernel_MEV.h> 4 4 5 5 namespace theplu { 6 namespace svm{6 namespace classifier { 7 7 8 8 9 }} // of namespace svmand namespace theplu9 }} // of namespace classifier and namespace theplu -
trunk/lib/svm/Kernel_MEV.h
r420 r450 1 1 // $Id$ 2 2 3 #ifndef _theplu_ svm_kernel_mev_4 #define _theplu_ svm_kernel_mev_3 #ifndef _theplu_classifier_kernel_mev_ 4 #define _theplu_classifier_kernel_mev_ 5 5 6 #include <c++_tools/ svm/Kernel.h>7 #include <c++_tools/ svm/KernelFunction.h>6 #include <c++_tools/classifier/Kernel.h> 7 #include <c++_tools/classifier/KernelFunction.h> 8 8 #include <c++_tools/gslapi/matrix.h> 9 9 10 10 namespace theplu { 11 namespace svm{11 namespace classifier { 12 12 13 13 /// … … 76 76 }; // class Kernel_MEV 77 77 78 }} // of namespace svmand namespace theplu78 }} // of namespace classifier and namespace theplu 79 79 80 80 #endif -
trunk/lib/svm/Kernel_SEV.cc
r420 r450 1 1 // $Id$ 2 2 3 #include <c++_tools/ svm/Kernel_SEV.h>3 #include <c++_tools/classifier/Kernel_SEV.h> 4 4 5 #include <c++_tools/ svm/Kernel.h>6 #include <c++_tools/ svm/KernelFunction.h>5 #include <c++_tools/classifier/Kernel.h> 6 #include <c++_tools/classifier/KernelFunction.h> 7 7 #include <c++_tools/gslapi/matrix.h> 8 8 #include <c++_tools/gslapi/vector.h> 9 9 10 10 namespace theplu { 11 namespace svm{11 namespace classifier { 12 12 13 13 … … 23 23 24 24 25 }} // of namespace svmand namespace theplu25 }} // of namespace classifier and namespace theplu -
trunk/lib/svm/Kernel_SEV.h
r420 r450 1 1 // $Id$ 2 2 3 #ifndef _theplu_ svm_kernel_sev_4 #define _theplu_ svm_kernel_sev_3 #ifndef _theplu_classifier_kernel_sev_ 4 #define _theplu_classifier_kernel_sev_ 5 5 6 #include <c++_tools/ svm/Kernel.h>6 #include <c++_tools/classifier/Kernel.h> 7 7 #include <c++_tools/gslapi/matrix.h> 8 8 9 9 10 10 namespace theplu { 11 namespace svm{11 namespace classifier { 12 12 13 13 class KernelFunction; … … 69 69 }; // class Kernel_SEV 70 70 71 }} // of namespace svmand namespace theplu71 }} // of namespace classifier and namespace theplu 72 72 73 73 #endif -
trunk/lib/svm/PolynomialKernelFunction.cc
r353 r450 2 2 3 3 4 #include <c++_tools/ svm/PolynomialKernelFunction.h>4 #include <c++_tools/classifier/PolynomialKernelFunction.h> 5 5 6 6 #include <c++_tools/gslapi/matrix.h> … … 11 11 12 12 namespace theplu { 13 namespace svm{13 namespace classifier { 14 14 15 15 PolynomialKernelFunction::PolynomialKernelFunction(int order) -
trunk/lib/svm/PolynomialKernelFunction.h
r353 r450 1 1 // $Id$ 2 2 3 #ifndef _theplu_ svm_polynomial_kernel_function_4 #define _theplu_ svm_polynomial_kernel_function_3 #ifndef _theplu_classifier_polynomial_kernel_function_ 4 #define _theplu_classifier_polynomial_kernel_function_ 5 5 6 #include <c++_tools/ svm/KernelFunction.h>6 #include <c++_tools/classifier/KernelFunction.h> 7 7 #include <c++_tools/gslapi/vector.h> 8 8 … … 16 16 } 17 17 18 namespace svm{18 namespace classifier { 19 19 20 20 /// … … 60 60 }; // class PolynomialKernelFunction 61 61 62 }} // of namespace svmand namespace theplu62 }} // of namespace classifier and namespace theplu 63 63 64 64 #endif -
trunk/lib/svm/SVM.cc
r445 r450 2 2 3 3 4 #include <c++_tools/ svm/SVM.h>5 6 #include <c++_tools/ svm/Kernel.h>4 #include <c++_tools/classifier/SVM.h> 5 6 #include <c++_tools/classifier/Kernel.h> 7 7 #include <c++_tools/gslapi/matrix.h> 8 8 #include <c++_tools/gslapi/vector.h> … … 19 19 20 20 namespace theplu { 21 namespace svm{21 namespace classifier { 22 22 23 23 Index::Index(void) … … 390 390 } 391 391 392 }} // of namespace svmand namespace theplu392 }} // of namespace classifier and namespace theplu -
trunk/lib/svm/SVM.h
r445 r450 1 1 // $Id$ 2 2 3 #ifndef _theplu_ svm_svm_4 #define _theplu_ svm_svm_5 6 #include <c++_tools/ svm/Kernel.h>3 #ifndef _theplu_classifier_svm_ 4 #define _theplu_classifier_svm_ 5 6 #include <c++_tools/classifier/Kernel.h> 7 7 #include <c++_tools/gslapi/vector.h> 8 8 … … 13 13 14 14 namespace theplu { 15 namespace svm{15 namespace classifier { 16 16 17 17 class Kernel; … … 228 228 229 229 230 }} // of namespace svmand namespace theplu230 }} // of namespace classifier and namespace theplu 231 231 232 232 #endif
Note: See TracChangeset
for help on using the changeset viewer.