org.apache.ignite.ml.util.generators.standard

## Class GaussianMixtureDataStream.Builder

- java.lang.Object
- - org.apache.ignite.ml.util.generators.standard.GaussianMixtureDataStream.Builder

- Enclosing class:
    GaussianMixtureDataStream

      public static class GaussianMixtureDataStream.Builder
      extends Object

  Builder for gaussian mixture.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Builder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `GaussianMixtureDataStream.Builder` | `add(Vector mean, Vector variance)` Adds multidimensional gaussian component.
    `GaussianMixtureDataStream` | `build()`
    `GaussianMixtureDataStream` | `build(long seed)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Builder

          public Builder()

  - ### Method Detail

    - #### add

          public GaussianMixtureDataStream.Builder add(Vector mean,
                                                       Vector variance)

      Adds multidimensional gaussian component.
      Parameters:
        `mean` - Mean value.
        `variance` - Variance for each component.

    - #### build

          public GaussianMixtureDataStream build()

      Returns:
        GaussianMixtureDataStream instance.

    - #### build

          public GaussianMixtureDataStream build(long seed)

      Parameters:
        `seed` - Seed.
      Returns:
        GaussianMixtureDataStream instance.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.10.0
Release Date | : March 10 2021