Implements Impala::Core::Training::Classifier. Definition at line 492 of file Fisher.h. References Impala::Util::FileCopyRemoteToLocal(), Impala::FileNameTmp(), Impala::Util::Database::GetInstance(), Impala::Util::Database::GetIOBuffer(), mOffset, mRotation, and Impala::Core::Array::ReadRaw(). 00493 { 00494 if (Util::Database::GetInstance().GetDataChannel()) 00495 { 00496 std::string tmpName = FileNameTmp(); 00497 Util::FileCopyRemoteToLocal(name, tmpName); 00498 00499 Util::Database& db = Util::Database::GetInstance(); 00500 Util::IOBuffer* buf = db.GetIOBuffer(tmpName, true, false, ""); 00501 ReadRaw(mRotation,buf); 00502 ReadRaw(mOffset,buf); 00503 delete buf; 00504 00505 unlink(tmpName.c_str()); 00506 } 00507 else 00508 { 00509 Util::Database& db = Util::Database::GetInstance(); 00510 Util::IOBuffer* buf = db.GetIOBuffer(name, true, false, ""); 00511 ReadRaw(mRotation,buf); 00512 ReadRaw(mOffset,buf); 00513 delete buf; 00514 } 00515 }
Here is the call graph for this function:
|