Package | Description |
---|---|
org.apache.ignite.ml.naivebayes.compound |
Contains Compound naive Bayes classifier.
|
Modifier and Type | Method and Description |
---|---|
<K,V> CompoundNaiveBayesModel |
CompoundNaiveBayesTrainer.fitWithInitializedDeployingContext(DatasetBuilder<K,V> datasetBuilder,
Preprocessor<K,V> extractor)
Trains model based on the specified data.
|
static CompoundNaiveBayesModel |
CompoundNaiveBayesModel.fromJSON(Path path)
Loads CompoundNaiveBayesModel from JSON file.
|
protected <K,V> CompoundNaiveBayesModel |
CompoundNaiveBayesTrainer.updateModel(CompoundNaiveBayesModel mdl,
DatasetBuilder<K,V> datasetBuilder,
Preprocessor<K,V> extractor)
Gets state of model in arguments, update in according to new data and return new model.
|
CompoundNaiveBayesModel |
CompoundNaiveBayesModel.withDiscreteFeatureIdsToSkip(Collection<Integer> discreteFeatureIdsToSkip)
Sets feature ids to skip in discrete Bayes.
|
CompoundNaiveBayesModel |
CompoundNaiveBayesModel.withDiscreteModel(DiscreteNaiveBayesModel discreteModel)
Sets a discrete model.
|
CompoundNaiveBayesModel |
CompoundNaiveBayesModel.withGaussianFeatureIdsToSkip(Collection<Integer> gaussianFeatureIdsToSkip)
Sets feature ids to skip in Gaussian Bayes.
|
CompoundNaiveBayesModel |
CompoundNaiveBayesModel.withGaussianModel(GaussianNaiveBayesModel gaussianModel)
Sets a gaussian model.
|
CompoundNaiveBayesModel |
CompoundNaiveBayesModel.withLabels(double[] labels)
Sets labels.
|
CompoundNaiveBayesModel |
CompoundNaiveBayesModel.withPriorProbabilities(double[] priorProbabilities)
Sets prior probabilities.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CompoundNaiveBayesTrainer.isUpdateable(CompoundNaiveBayesModel mdl) |
protected <K,V> CompoundNaiveBayesModel |
CompoundNaiveBayesTrainer.updateModel(CompoundNaiveBayesModel mdl,
DatasetBuilder<K,V> datasetBuilder,
Preprocessor<K,V> extractor)
Gets state of model in arguments, update in according to new data and return new model.
|
Modifier and Type | Method and Description |
---|---|
<P> void |
CompoundNaiveBayesModel.saveModel(Exporter<CompoundNaiveBayesModel,P> exporter,
P path)
Save model by the given path.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021