org.apache.ignite.ml.preprocessing.standardscaling

## Class StandardScalerData

- java.lang.Object
- - org.apache.ignite.ml.preprocessing.standardscaling.StandardScalerData

- All Implemented Interfaces:
    AutoCloseable

      public class StandardScalerData
      extends Object
      implements AutoCloseable

  A Service class for `StandardScalerTrainer` which used for sums holing.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StandardScalerData(double[] sum, double[] squaredSum, long cnt)` Creates `StandardScalerData`.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`

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

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

- - ### Constructor Detail

    - #### StandardScalerData

          public StandardScalerData(double[] sum,
                                    double[] squaredSum,
                                    long cnt)

      Creates `StandardScalerData`.
      Parameters:
        `sum` - Sum values of every feature.
        `squaredSum` - Sum of squared values of every feature.
        `cnt` - Rows count.

  - ### Method Detail

    - #### close

          public void close()

      Specified by:
        `close` in interface `AutoCloseable`

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.11.0
Release Date | : September 11 2021