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

void Impala::Core::DataFactory::WriteScoreOnSelf ( String  concept,
double  score 
) [inline]

Definition at line 333 of file DataFactory.h.

References Impala::Core::Database::RawDataSet::GetFilePathConceptModel(), Impala::Util::Database::GetIOBuffer(), ILOG_ERROR, Impala::MakeString(), mConceptSet, mDataSet, mDb, mFeatureDef, mModelType, and Impala::Util::IOBuffer::Puts().

Referenced by Impala::Application::TrainModel().

00334     {
00335         String filename = mDataSet->GetFilePathConceptModel
00336             (mConceptSet, mModelType, mFeatureDef, concept+".ScoreOnSelf",
00337              true, false);
00338         if(filename.empty())
00339         {
00340             ILOG_ERROR("Could not write " << concept << ".ScoreOnSelf");
00341             throw;
00342         }
00343         else
00344         {
00345             Util::IOBuffer* buf = mDb->GetIOBuffer(filename, false,false,"tmp", 0, true);
00346             buf->Puts(MakeString(score));
00347             delete buf;
00348         }
00349     }

Here is the call graph for this function:


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