OpenANN
1.1.0
An open source library for artificial neural networks.
|
#include <CreateTwoSpiralsDataSet.h>
#include <OpenANN/io/DirectStorageDataSet.h>
#include <OpenANN/OpenANN>
#include <Test/Stopwatch.h>
#include <cstdlib>
#include <vector>
Functions | |
void | setup (OpenANN::Net &net, int architecture) |
Set up the desired MLP architecture. More... | |
Result | evaluate (OpenANN::Net &net, const Eigen::MatrixXd &testInput, const Eigen::MatrixXd &testOutput, EvaluatableDataset &ds) |
Evaluate the learned model. More... | |
void | logResults (std::vector< Result > &results, unsigned long time) |
Print benchmark results. More... | |
int | main (int argc, char **argv) |
Result evaluate | ( | OpenANN::Net & | net, |
const Eigen::MatrixXd & | testInput, | ||
const Eigen::MatrixXd & | testOutput, | ||
EvaluatableDataset & | ds | ||
) |
Evaluate the learned model.
void logResults | ( | std::vector< Result > & | results, |
unsigned long | time | ||
) |
Print benchmark results.
int main | ( | int | argc, |
char ** | argv | ||
) |
void setup | ( | OpenANN::Net & | net, |
int | architecture | ||
) |
Set up the desired MLP architecture.