74 Orderings (
const FeatureVectorListPtr _data,
97 FeatureFileIOPtr _driver,
115 Orderings (
const FeatureVectorListPtr _data,
116 const KKStr& _indexFileName,
163 FeatureVectorListPtr
Data ()
const {
return data;}
165 const FileDescPtr
FileDesc ()
const {
return fileDesc;}
166 const MLClassListPtr
MLClasses ()
const {
return mlClasses;}
190 void CreateOrderings (
RunLog& log);
191 void DeleteOrderings ();
194 void Load (
const KKStr& _indexFileName,
200 FeatureVectorListPtr data;
201 KKStr featureFileName;
202 FileDescPtr fileDesc;
203 MLClassListPtr mlClasses;
207 vector<FeatureVectorListPtr> orderings;
Orderings(const FeatureVectorListPtr _data, const KKStr &_indexFileName, kkuint32 _numOfOrderings, kkuint32 _numOfFolds, RunLog &_log)
Constructs a Orderings object from a FeatureLectorList object.
Used to maintain multiple orderings of a single list of FeatureVector objects.
kkuint32 NumOfFolds() const
Orderings(const FeatureVectorListPtr _data, kkuint32 _numOfOrderings, kkuint32 _numOfFolds, RunLog &_log)
Constructs Orderings object from ImageFeatursList object.
void Save(const KKStr &_indexFileName, RunLog &_log)
#define _FeatureVector_Defined_
const KKStr & FeatureFileName() const
kkuint32 NumOfOrderings() const
const MLClassListPtr MLClasses() const
FeatureVectorListPtr Data() const
unsigned __int32 kkuint32
Orderings(const KKStr &_featureFileName, FeatureFileIOPtr _driver, RunLog &_log, bool &cancelFlag)
Constructs Orderings of a FeatureVectorList from a previous construction that was saved in a data fil...
const FeatureVectorListPtr Ordering(kkuint32 orderingIdx) const
#define _FeatureVectorList_Defined_
static KKStr Concat(const std::vector< std::string > &values)
Concatenates the list of 'std::string' strings.
Used for logging messages.
void EncodeProblem(const struct svm_paramater ¶m, struct svm_problem &prob_in, struct svm_problem &prob_out)
static OrderingsPtr CreateOrderingsObjFromFileIfAvaliable(const FeatureVectorListPtr _data, kkuint32 _numOfOrderings, kkuint32 _numOfFolds, RunLog &_log)
Constructs a Orderings object for a specified FeatureVectorList.
const KKStr & IndexFileName() const
Orderings(FeatureVectorListPtr _data, RunLog &_log)
Constructs a Orderings objects for a specified FeatureVectorList using a previously built Orderings d...
const FileDescPtr FileDesc() const