Definition at line 26 of file TrainDataSrcFeature.h. References mDataSet, mFeature, and SelectValid(). 00028 : TrainDataSrc(annotation), 00029 mFeatureTableCache(3) 00030 { 00031 mDataSet = dataSet; 00032 mFeature = feature; 00033 SelectValid(); 00034 //either here or in the logic of the methods do this: 00035 // - NOOOO! do it in the 'creation' of the AnnotationTable object! 00036 /* 00037 Table::CriterionElement1InSet<Table::AnnotationTable> 00038 eq(mData->GetQuidTable()); 00039 00040 Table::AnnotationTable* temp = Select(annotation, eq); 00041 ClassifierEvaluator::SetAnnotation(temp); 00042 delete temp; 00043 // moet dit rekening houden met de folds? ik denk het wel 00044 if(mProperties->GetBool("autoweight")) 00045 { 00046 double posweight = (pos+neg) / pos; 00047 double negweight = (pos+neg) / neg; 00048 mProperties->Add("w1", posweight); 00049 mProperties->Add("w2", negweight); 00050 ILOG_INFO("autoweight: w+1=" << posweight << " w-1= " << negweight); 00051 } 00052 */ 00053 }
Here is the call graph for this function:
|