SG++-Doxygen-Documentation
|
#include <DatasetGenerator.hpp>
Public Member Functions | |
virtual void | createData (size_t offset, size_t size, base::DataMatrix &trData, base::DataVector &classes) |
virtual size_t | getDims () |
Public Member Functions inherited from sgpp::datadriven::DatasetGenerator | |
virtual double | normal (double mean, double stddev) |
generate normally distributed random variable see http://de.wikipedia.org/wiki/Box-Muller-Methode uses rand(), make sure to call srand yourself More... | |
virtual double | uniform (double a, double b) |
virtual | ~DatasetGenerator () |
|
virtual |
Implements sgpp::datadriven::DatasetGenerator.
References sgpp::base::DataMatrix::get(), python.statsfileInfo::i, M_PI, sgpp::datadriven::DatasetGenerator::normal(), sgpp::base::DataMatrix::normalizeDimension(), sgpp::base::DataMatrix::resize(), sgpp::base::DataVector::set(), sgpp::base::DataMatrix::set(), analyse_erg::tmp, and sgpp::datadriven::DatasetGenerator::uniform().
|
virtual |
Implements sgpp::datadriven::DatasetGenerator.