Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void svm_get_labels ( const svm_model model,
int *  label 
)

Definition at line 2190 of file svm.cpp.

References svm_model::label, and svm_model::nr_class.

Referenced by Impala::Core::Trec::TrecSVM::LoadModel(), and Impala::Core::Training::Svm::SetModel().

02191 {
02192         if (model->label != NULL)
02193                 for(int i=0;i<model->nr_class;i++)
02194                         label[i] = model->label[i];
02195 }


Generated on Fri Mar 19 10:17:13 2010 for ImpalaSrc by  doxygen 1.5.1