19 #include "../dependencies/json/json.h"
40 std::vector<T>
run(
const std::vector<T> &inputVector);
65 void writeJSON(
const std::string &filepath);
68 bool putJSON(
const std::string &jsonMessage);
70 bool readJSON(
const std::string &filepath);
73 Json::Value parse2json();
74 void json2modelSet(
const Json::Value &root);
Definition: modelSet.h:24
bool readJSON(const std::string &filepath)
Definition: modelSet.cpp:303
bool reset()
Definition: modelSet.cpp:91
bool putJSON(const std::string &jsonMessage)
Definition: modelSet.cpp:195
std::vector< baseModel< T > * > myModelSet
Definition: modelSet.h:43
std::string getJSON()
Definition: modelSet.cpp:176
bool isTrained
Definition: modelSet.h:48
void writeJSON(const std::string &filepath)
Definition: modelSet.cpp:183
virtual ~modelSet()
Definition: modelSet.cpp:35
int numOutputs
Definition: modelSet.h:46
virtual bool train(const std::vector< trainingExampleTemplate< T > > &trainingSet)
Definition: modelSet.cpp:44
void threadTrain(std::size_t i, const std::vector< trainingExampleTemplate< T > > &training_set)
Definition: modelSet.cpp:85
std::vector< std::string > inputNames
Definition: modelSet.h:45
std::vector< T > run(const std::vector< T > &inputVector)
Definition: modelSet.cpp:105
int numInputs
Definition: modelSet.h:44
modelSet()
Definition: modelSet.cpp:26
bool isTraining
Definition: modelSet.h:47
Definition: trainingExample.h:19