64 #ifndef LOADSAVEASCII_HH 65 #define LOADSAVEASCII_HH 127 template<
typename FV>
129 std::vector<FV>& featureVectors);
168 std::vector<int>& subsetIndexByUID);
210 template<
typename FV>
228 std::vector<ParamInfo>& p);
246 template<
typename FV,
typename ALGORITHMS>
263 std::vector<ParamInfo>& p);
300 const std::vector<double>& results,
301 const std::vector< StDataASCII>& details,
308 #include "LoadSaveASCII.icc"
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().
void saveClassificationResults(StDataCmdLine &cmdline, const std::vector< double > &results, const std::vector< StDataASCII > &details, bool saveDetails, std::ostream &os)
save classification results.
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().
void loadSubsetLabels(StDataCmdLine &cmdline, std::vector< int > &subsetIndexByUID)
load feature vectors
BasicSVMAdapter< FV, STDATA > * createSVMAndLoadModel(StDataCmdLine &cmdline)
create SVM from file and load Model data
static void getParamInfosForSaveClassificationResults(std::vector< ParamInfo > &p)
get information about the parameters, that are used in createSVMAndLoadModel().
void checkParamsForLoadFeatureVectors(StDataCmdLine &cmdline) const
Just accesses all parameters, that are used in loadFeatureVectors() so that they are no longer unknwo...
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.
void saveModel(StDataCmdLine &cmdline, BasicSVMAdapter< FV, STDATA > *svm, int detailLevel, std::ostream &os)
save Model.
void checkParamsForSaveModel(StDataCmdLine &cmdline) const
Just accesses all parameters, that are used in saveModel() so that they are no longer unknwon to StDa...