#include <DataFactory.h>
Collaboration diagram for Impala::Core::DataFactory:
Public Member Functions | |
DataFactory (Database::RawDataSet *set, Util::Database *db, int quidClass, String conceptSet, String modelType, Feature::FeatureDefinition fdef, String kernelMatrixName, int conceptStart, int conceptNumber) | |
| |
virtual | ~DataFactory () |
Array::Array2dVec3UInt8 * | MakeImage (Quid q) |
std::vector< String > | MakeConceptList () |
int | FeatureTableCount () const |
Feature::FeatureTable * | MakeFeatureTable (int videoId) |
when used for imagesets argument videoId is assumed to be the dirId | |
Table::QuidTable * | MakeAllFeatureQuids () |
Table::QuidTable * | MakeTrainFeatureQuids () |
There is a problem with the regression tests for Core/Training: The test reuses data from another set, that's why the setid in the quids is wrong. | |
Table::AnnotationTable * | MakeAnnotation (String concept) |
bool | CanMakeBestFile (String concept) |
bool | CanMakeConceptModel (String concept) |
Util::IOBuffer * | MakeBestFile (String concept, bool toWrite) |
Util::IOBuffer * | MakeBestFileWrite (String concept) |
Util::IOBuffer * | MakeAllParametersFile (String concept) |
Database::RawDataSet * | GetDataSet () |
Matrix::DistributedAccess * | GetDistributedAccess () |
hmm this is not right, the decission how many nodes work together in the distributed kernel should be made elsewhere. | |
void | ServeDistributedAccess () |
void | WriteConceptModel (String concept, Training::Classifier *c) |
It would be better if there was a function to open a IOBuffer and the classifier saves itself to this IOBuffer. | |
void | WriteScoreOnSelf (String concept, double score) |
bool | CanWriteCodebook () |
void | WriteRandomForest (Feature::RandomTreeTable *forest) |
void | WriteCodebook (Feature::FeatureTable *forest) |
Feature::FeatureDefinition | GetFeatureDefinition () |
Private Member Functions | |
void | GetPartialTask (CmdOptions &options, std::vector< String > conceptList, int &start, int &end) |
Private Attributes | |
Database::RawDataSet * | mDataSet |
Util::Database * | mDb |
int | mQuidClass |
int | mConceptStart |
int | mConceptNumber |
String | mConceptSet |
String | mModelType |
Feature::FeatureDefinition | mFeatureDef |
String | mKernelMatrixName |
Matrix::DistributedAccess * | mDistributedAccess |
ILOG_VAR_DECL |
It provides a simple interface to get to all necessary data.
Definition at line 29 of file DataFactory.h.