NNetCpp
Neural network implementation in C++
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
TrainingData Class Reference

#include <TrainingData.h>

Public Member Functions

 TrainingData (std::vector< double > input, std::vector< double > target)
 
std::vector< double > getInput ()
 
std::vector< double > getTarget ()
 

Detailed Description

Data to be used for training a neural net. Consist of a pair of input data and wanted output

Constructor & Destructor Documentation

TrainingData::TrainingData ( std::vector< double >  input,
std::vector< double >  target 
)

Create a new training data input-target pair

Parameters
inputthe input to the neural net
targetthe wanted output from the net

Member Function Documentation

std::vector< double > TrainingData::getInput ( )

Get the input vector of the training data

Returns
the input vector
std::vector< double > TrainingData::getTarget ( )

Get the known target vector of the training data

Returns
the (target) output vector

The documentation for this class was generated from the following files: