OpenANN
1.1.0
An open source library for artificial neural networks.
|
Go to the source code of this file.
Functions | |
void | createTwoSpiralsDataSet (int density, double maxDiameter, Eigen::MatrixXd &Xtr, Eigen::MatrixXd &Ytr, Eigen::MatrixXd &Xte, Eigen::MatrixXd &Yte) |
Creates two interlocked spirals that form different classes. More... | |
void createTwoSpiralsDataSet | ( | int | density, |
double | maxDiameter, | ||
Eigen::MatrixXd & | Xtr, | ||
Eigen::MatrixXd & | Ytr, | ||
Eigen::MatrixXd & | Xte, | ||
Eigen::MatrixXd & | Yte | ||
) |
Creates two interlocked spirals that form different classes.
Source is available at CMU Neural Networks Benchmark Collection
density | higher densities result in greater data sets |
maxDiameter | diameter of the points on the outer side of the spirals |
Xtr | training inputs |
Ytr | training outputs |
Xte | test inputs |
Yte | test outputs |