#include <TrainingData.h>
Public Member Functions | |
TrainingData (std::vector< double > input, std::vector< double > target) | |
std::vector< double > | getInput () |
std::vector< double > | getTarget () |
Data to be used for training a neural net. Consist of a pair of input data and wanted output
TrainingData::TrainingData | ( | std::vector< double > | input, |
std::vector< double > | target | ||
) |
Create a new training data input-target pair
input | the input to the neural net |
target | the wanted output from the net |
std::vector< double > TrainingData::getInput | ( | ) |
Get the input vector of the training data
std::vector< double > TrainingData::getTarget | ( | ) |
Get the known target vector of the training data