org.apache.ignite.ml.naivebayes.discrete

## Class DiscreteNaiveBayesSumsHolder

- java.lang.Object
- - org.apache.ignite.ml.naivebayes.discrete.DiscreteNaiveBayesSumsHolder

- All Implemented Interfaces:
    Serializable, AutoCloseable

      public class DiscreteNaiveBayesSumsHolder
      extends Object
      implements AutoCloseable, Serializable

  Service class is used to calculate amount of values which are below the threshold.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DiscreteNaiveBayesSumsHolder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `Map<Double,Integer>` | `getFeatureCountersPerLbl()`
    `Map<Double,long[][]>` | `getValuesInBucketPerLbl()`

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

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

- - ### Constructor Detail

    - #### DiscreteNaiveBayesSumsHolder

          public DiscreteNaiveBayesSumsHolder()

  - ### Method Detail

    - #### getValuesInBucketPerLbl

          public Map<Double,long[][]> getValuesInBucketPerLbl()

    - #### getFeatureCountersPerLbl

          public Map<Double,Integer> getFeatureCountersPerLbl()

    - #### close

          public void close()

      Specified by:
        `close` in interface `AutoCloseable`

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.13.0
Release Date | : April 20 2022