#include <ArtificialDistributions.h>

Public Member Functions | |
| NoisyInterval (double bayesRate, int dimensions=1) | |
| Constructor. | |
| ~NoisyInterval () | |
| Destructor. | |
| bool | GetData (Array< double > &data, Array< double > &target, int count) |
| This function generates examples drawn i.i.d. | |
Protected Attributes | |
| double | bayesRate |
| int | dimensions |
Definition at line 117 of file ArtificialDistributions.h.
| NoisyInterval::NoisyInterval | ( | double | bayesRate, | |
| int | dimensions = 1 | |||
| ) |
Constructor.
Definition at line 108 of file ArtificialDistributions.cpp.
References DataSource::dataDim, and DataSource::targetDim.
| NoisyInterval::~NoisyInterval | ( | ) |
| bool NoisyInterval::GetData | ( | Array< double > & | data, | |
| Array< double > & | target, | |||
| int | count | |||
| ) | [virtual] |
This function generates examples drawn i.i.d.
from the distribution.
Implements DataSource.
Definition at line 124 of file ArtificialDistributions.cpp.
References bayesRate, dimensions, and i.
double NoisyInterval::bayesRate [protected] |
int NoisyInterval::dimensions [protected] |