Commit 93ebd16a authored by Michael Zbyszyński's avatar Michael Zbyszyński
Browse files

some notes from meeting with Fabian

parent 23411c24
......@@ -37,12 +37,22 @@ namespace rapidmix {
struct phrase {
uint32_t uniqueId;
std::string label; //TODO: Need to work this with templates
std::vector<std::string> columnNames;
std::vector<std::string> columnNames; //equal to the number of inputs
std::vector<element> elements;
void addElement (const std::vector<double> &input, const std::vector<double> &output)
{
}
};
std::vector<phrase> trainingSet;
//TODO: Deleting phrases (last or by label)
//Design ideas to make phrase building stateless:
//phrase& createNewPhrase();
//addElementToPhrase();
/** Create a new phrase that can be recorded into. Returns phrase id */
uint32_t startRecording(); //FIXME: this should go away. -MZ
......@@ -71,7 +81,6 @@ namespace rapidmix {
std::vector<std::string> getColumnNames();
void setColumnNames(const std::vector<std::string> &columnNames);
/** Get a JSON representation of the data set in the form of a styled string */
std::string getJSON();
/** Write a JSON version of the training set to specified file path */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment