org.apache.ignite.ml.naivebayes

## Interface BayesModel<MODEL extends BayesModel,FEATURES,OUTPUT>

- All Superinterfaces:
    AutoCloseable, Exportable<MODEL>, IgniteModel<FEATURES,OUTPUT>, Model<FEATURES,OUTPUT>, Serializable
  All Known Implementing Classes:
    DiscreteNaiveBayesModel, GaussianNaiveBayesModel

      public interface BayesModel<MODEL extends BayesModel,FEATURES,OUTPUT>
      extends IgniteModel<FEATURES,OUTPUT>, Exportable<MODEL>

  Interface for Bayes Models.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `double[]` | `probabilityPowers(FEATURES vector)` Returns an array where the index correapons a label, and value corresponds `log(probability)` to be this label.

    - ### Methods inherited from interface org.apache.ignite.ml.IgniteModel

      `andBefore, andThen, andThen, close, combine, toString`

    - ### Methods inherited from interface org.apache.ignite.ml.inference.Model

      `predict`

    - ### Methods inherited from interface org.apache.ignite.ml.Exportable

      `saveModel`

- - ### Method Detail

    - #### probabilityPowers

          double[] probabilityPowers(FEATURES vector)

      Returns an array where the index correapons a label, and value corresponds `log(probability)` to be this label. The prior probabilities are not count.

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.12.0
Release Date | : January 10 2022