Generates a set of normally distributed points. More...
#include <shark/Data/DataDistribution.h>
Public Member Functions | |
NormalDistributedPoints (std::size_t dim) | |
Generates a simple distribution with. More... | |
NormalDistributedPoints (RealMatrix const &covariance, RealVector const &offset) | |
void | draw (RealVector &input) const |
Generates a single pair of input and label. More... | |
Public Member Functions inherited from shark::DataDistribution< RealVector > | |
virtual | ~DataDistribution () |
Virtual destructor. More... | |
RealVector | operator() () |
UnlabeledData< RealVector > | generateDataset (std::size_t size, std::size_t maximumBatchSize) const |
Generates a data set with samples from from the distribution. More... | |
UnlabeledData< RealVector > | generateDataset (std::size_t size) const |
Generates a data set with samples from from the distribution. More... | |
Generates a set of normally distributed points.
Definition at line 379 of file DataDistribution.h.
|
inline |
Generates a simple distribution with.
Definition at line 383 of file DataDistribution.h.
References shark::covariance().
|
inline |
Definition at line 388 of file DataDistribution.h.
References SIZE_CHECK.
|
inlinevirtual |
Generates a single pair of input and label.
input | the generated input |
Implements shark::DataDistribution< RealVector >.
Definition at line 392 of file DataDistribution.h.