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

Impala::Core::Training::TrainDataSrcFeature::TrainDataSrcFeature ( Table::AnnotationTable annotation,
DataFactory factory 
) [inline]

Definition at line 24 of file TrainDataSrcFeature.h.

References mDataFactory, and SelectValid().

00026         : TrainDataSrc(annotation),
00027           mFeatureTableCache(3)
00028     {
00029         mDataFactory = factory;
00030         SelectValid();
00031         //either here or in the logic of the methods do this:
00032         // - NOOOO! do it in the 'creation' of the AnnotationTable object!
00033         /*
00034         Table::CriterionElement1InSet<Table::AnnotationTable>
00035             eq(mData->GetQuidTable());
00036             
00037         Table::AnnotationTable* temp = Select(annotation, eq);
00038         ClassifierEvaluator::SetAnnotation(temp);
00039         delete temp;
00040         // moet dit rekening houden met de folds? ik denk het wel
00041         if(mProperties->GetBool("autoweight"))
00042         {
00043             double posweight = (pos+neg) / pos;
00044             double negweight = (pos+neg) / neg;
00045             mProperties->Add("w1", posweight);
00046             mProperties->Add("w2", negweight);
00047             ILOG_INFO("autoweight: w+1=" << posweight << " w-1= " << negweight);
00048         }
00049         */
00050     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:24:49 2010 for ImpalaSrc by  doxygen 1.5.1