Reimplemented in Impala::Core::Training::TrainDataSrcFeature, and Impala::Core::Training::TrainDataSrcFeatureTable. Definition at line 121 of file TrainDataSrc.h. References svm_problem::x, and svm_problem::y. Referenced by Impala::Core::Training::Svm::Predict(), Impala::Core::Training::Tester::TestMakeSvmProblem(), and Impala::Core::Training::Svm::Train(). 00122 { 00123 if(p->x) 00124 { 00125 delete p->x[0]; 00126 delete p->x; 00127 } 00128 if(p->y) 00129 { 00130 delete p->y; 00131 } 00132 delete p; 00133 }
|