Non temporal data
Presentation
Non temporal data is set by default, do not take care of the 2 last parameters of constructor.
Declaration
Data(problem typeOfProblem,
std::vector<std::vector<float>>& trainingInputs,
std::vector<std::vector<float>>& trainingLabels,
std::vector<std::vector<float>>& testingInputs,
std::vector<std::vector<float>>& testingLabels);
Arguments
- trainingInputs: 2D vector of all the data inputs use to train the neural network. Each
vector<float>
represents an input for the neural network. - trainingLabels: 2D vector of all the expected outputs use to train the neural network. Each
vector<float>
represents the expected output by the neural network for the corresponding input. - testingInputs: 2D vector of all the data inputs use to evaluate the neural network. Each
vector<float>
represents an input for the neural network. - testingLabels: 2D vector of all the expected outputs use to evaluate the neural network. Each
vector<float>
represents the expected output by the neural network for the corresponding input. - typeOfTemporal: An
enum
corresponding to the temporal nature of problem associated with the data. There are 3 types of temporal nature nonTemporal, sequential and timeSeries. - numberOfRecurrences: Size of sequence used for train neural network. Only used for timeSeries otherwise leave the value at 0.