24 std::vector<unsigned> topology;
26 std::vector<double> inputVals;
27 std::vector<double> targetVals;
28 std::vector<double> resultVals;
47 void loadTogology(
const std::vector<unsigned>& topology);
59 void Run(std::vector<double>& inputVals, std::vector<double>& targetVals, std::vector<double>& resultVals);
72 std::vector<double>
RunWithReturn(std::vector<double>& inputVals, std::vector<double>& targetVals, std::vector<double>& resultVals);
Defines the Net class for a neural network.
Declares the TrainingData class, which is responsible for reading and parsing training data from a fi...
Represents a neural network composed of layers of neurons.
Definition: Net.hpp:28
Manages a neural network's structure, data, and training process.
Definition: NeuralNetwork.hpp:22
void loadTogology(const std::vector< unsigned > &topology)
Loads the topology of the neural network.
Definition: NeuralNetwork.cpp:19
std::vector< double > RunWithReturn(std::vector< double > &inputVals, std::vector< double > &targetVals, std::vector< double > &resultVals)
Runs the network with input and target values, and returns the result.
Definition: NeuralNetwork.cpp:57
void Run(std::vector< double > &inputVals, std::vector< double > &targetVals, std::vector< double > &resultVals)
Runs a single training pass through the network.
Definition: NeuralNetwork.cpp:33
NeuralNetwork()=default
Default constructor for the NeuralNetwork class.