Class NoisyInterlockingCrescentsDataSource

java.lang.Object
org.tribuo.classification.example.DemoLabelDataSource
org.tribuo.classification.example.NoisyInterlockingCrescentsDataSource
All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Configurable, com.oracle.labs.mlrg.olcut.provenance.Provenancable<DataSourceProvenance>, Iterable<Example<Label>>, ConfigurableDataSource<Label>, DataSource<Label>

public final class NoisyInterlockingCrescentsDataSource extends DemoLabelDataSource
A data source of two interleaved half circles with some zero mean Gaussian noise applied to each point.
  • Constructor Details

    • NoisyInterlockingCrescentsDataSource

      public NoisyInterlockingCrescentsDataSource(int numSamples, long seed, double variance)
      Constructs a noisy interlocking crescents data source.

      It's the same as InterlockingCrescentsDataSource but each point has Gaussian noise with zero mean and the specified variance added to it.

      Parameters:
      numSamples - The number of samples to generate.
      seed - The RNG seed.
      variance - The variance of the Gaussian noise.
  • Method Details