41 #ifndef LOADSAVEHDF5_HH 42 #define LOADSAVEHDF5_HH 61 template<
typename STDATATYPE>
106 template<
typename FV>
108 std::vector<FV>& featureVectors);
148 std::vector<int>& subsetIndexByUID);
190 template<
typename FV>
194 std::ostream& os)
const;
208 std::vector<ParamInfo>& p);
225 template<
typename FV,
typename ALGORITHMS>
242 std::vector<ParamInfo>& p);
275 const std::vector<double>& results,
276 const std::vector< StDataASCII>& details,
278 std::ostream& os)
const;
285 #include "LoadSaveHdf5.icc"
void loadSubsetLabels(StDataCmdLine &cmdline, std::vector< int > &subsetIndexByUID)
load feature vectors
void checkParamsForSaveModel(StDataCmdLine &cmdline) const
Just accesses all parameters, that are used in saveModel() so that they are no longer unknwon to StDa...
void saveClassificationResults(StDataCmdLine &cmdline, const std::vector< double > &results, const std::vector< StDataASCII > &details, bool saveDetails, std::ostream &os) const
save classification results.
static void getParamInfosForCreateSVMAndLoadModel(std::vector< ParamInfo > &p)
get information about the parameters, that are used in createSVMAndLoadModel().
bool checkParamsForLoadSubsetLabels(StDataCmdLine &cmdline) const
checks wether the "--subset_att" parameter was given.
LoadSaveHdf5Templ< StDataHdf5 > LoadSaveHdf5
static void getParamInfosForSaveClassificationResults(std::vector< ParamInfo > &p)
get information about the parameters, that are used in createSVMAndLoadModel().
static void getParamInfosForLoadFeatureVectors(std::vector< ParamInfo > &p)
get information about the parameters, that are used in loadFeatureVectors().
static void getParamInfosForLoadSubsetLabels(std::vector< ParamInfo > &p)
get information about the parameters, that are used in loadSubsetLabels().
bool checkParamsForSaveClassificationResults(StDataCmdLine &cmdline) const
Just accesses all parameters, that are used in saveClassificationResults() so that they are no longer...
void loadFeatureVectors(StDataCmdLine &cmdline, std::vector< FV > &featureVectors)
load feature vectors
static void getParamInfosForSaveModel(std::vector< ParamInfo > &p)
get information about the parameters, that are used in saveModel().
BasicSVMAdapter< FV, STDATA > * createSVMAndLoadModel(StDataCmdLine &cmdline) const
create SVM from file and load Model data
void saveModel(StDataCmdLine &cmdline, BasicSVMAdapter< FV, STDATA > *svm, int detailLevel, std::ostream &os) const
save Model.
void checkParamsForLoadFeatureVectors(StDataCmdLine &cmdline) const
Just accesses all parameters, that are used in loadFeatureVectors() so that they are no longer unknwo...