A B C D E F G I L M N O P T X Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractNaiveBayesClassifierImpl - Class in com.namsor.oss.classify.bayes
-
A simple, scalable Naive Bayes Classifier, based on a key-value store (in memory, or disk-based)
- AbstractNaiveBayesClassifierImpl(String, String[]) - Constructor for class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierImpl
- AbstractNaiveBayesClassifierLevelDBImpl - Class in com.namsor.oss.classify.bayes
-
A persistent Naive Bayes Classifier, based on LevelDB key-value store.
- AbstractNaiveBayesClassifierLevelDBImpl(String, String[], int, String) - Constructor for class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierLevelDBImpl
-
Create a persistent Naive Bayes Classifier using LevelDB
- AbstractNaiveBayesClassifierLevelDBImpl(String, String[], String) - Constructor for class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierLevelDBImpl
-
Create a persistent Naive Bayes Classifier using LevelDB, with default cache size
- AbstractNaiveBayesClassifierMapImpl - Class in com.namsor.oss.classify.bayes
-
A simple, scalable Naive Bayes Classifier, based on a key-value store (in memory using ConcurrentHashMap, or disk-based using org.mapdb.HTreeMap)
- AbstractNaiveBayesClassifierMapImpl(String, String[]) - Constructor for class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierMapImpl
-
Create in-memory classifier using ConcurrentHashMap
- AbstractNaiveBayesClassifierMapImpl(String, String[], String) - Constructor for class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierMapImpl
-
Create persistent classifier using org.mapdb.HTreeMap
- AbstractNaiveBayesClassifierRocksDBImpl - Class in com.namsor.oss.classify.bayes
-
A persistent Naive Bayes Classifier, based on RocksDB key-value store.
- AbstractNaiveBayesClassifierRocksDBImpl(String, String[], String) - Constructor for class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierRocksDBImpl
-
Create a persistent Naive Bayes Classifier using RocksDB
- AbstractNaiveBayesImpl - Class in com.namsor.oss.classify.bayes
-
Functions common to the Naive Bayes Classifier and the Explainer
- AbstractNaiveBayesImpl() - Constructor for class com.namsor.oss.classify.bayes.AbstractNaiveBayesImpl
B
- BANANA - Static variable in class com.namsor.oss.samples.MainSample3
- bytes(String) - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierLevelDBImpl
- bytes(String) - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierRocksDBImpl
C
- ClassificationExplainedImpl - Class in com.namsor.oss.classify.bayes
-
The detailed explanation of a classification : - likelyhood values - likelyhood formulae (in a readable format) - likelyhood expressions (in a readable format) The toString() function generates a JavaScript that can interpreted
- ClassificationExplainedImpl(IClassification, double[], String[], String[]) - Constructor for class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
-
Create an immutable detailed explanation of a classification :
- ClassificationImpl - Class in com.namsor.oss.classify.bayes
-
An immutable classification object
- ClassificationImpl(Map<String, String>, IClassProbability[], Map<String, Long>) - Constructor for class com.namsor.oss.classify.bayes.ClassificationImpl
- ClassificationImpl(Map<String, String>, IClassProbability[], Map<String, Long>, boolean, boolean, double) - Constructor for class com.namsor.oss.classify.bayes.ClassificationImpl
- classify(Map<String, String>, boolean) - Method in interface com.namsor.oss.classify.bayes.INaiveBayesClassifier
-
Predict most probable class, optionally returning the data needed for future explanation.
- classify(Map<String, String>, boolean) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierLevelDBImpl
- classify(Map<String, String>, boolean) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierLevelDBLaplacedImpl
- classify(Map<String, String>, boolean) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierMapImpl
- classify(Map<String, String>, boolean) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierMapLaplacedImpl
- classify(Map<String, String>, boolean) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierRocksDBImpl
- classify(Map<String, String>, boolean) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierRocksDBLaplacedImpl
- ClassifyException - Exception in com.namsor.oss.classify.bayes
-
Classification exception (except persistence related).
- ClassifyException(String) - Constructor for exception com.namsor.oss.classify.bayes.ClassifyException
- ClassifyException(String, Throwable) - Constructor for exception com.namsor.oss.classify.bayes.ClassifyException
- ClassifyException(Throwable) - Constructor for exception com.namsor.oss.classify.bayes.ClassifyException
- ClassProbabilityImpl - Class in com.namsor.oss.classify.bayes
-
Classification output and probability estimate.
- ClassProbabilityImpl(String, double) - Constructor for class com.namsor.oss.classify.bayes.ClassProbabilityImpl
-
Create an immutable classification output
- colName - Static variable in class com.namsor.oss.samples.MainSample1
-
Header table as per https://taylanbil.github.io/boostedNB or http://ai.fon.bg.ac.rs/wp-content/uploads/2015/04/ML-Classification-NaiveBayes-2014.pdf
- colName - Static variable in class com.namsor.oss.samples.MainSample1Laplaced
-
Header table as per https://taylanbil.github.io/boostedNB or http://ai.fon.bg.ac.rs/wp-content/uploads/2015/04/ML-Classification-NaiveBayes-2014.pdf
- colName - Static variable in class com.namsor.oss.samples.MainSample3
-
Header table as per https://www.machinelearningplus.com/predictive-modeling/how-naive-bayes-algorithm-works-with-example-and-full-code/
- com.namsor.oss.classify.bayes - package com.namsor.oss.classify.bayes
-
A simple, scalable, explainable implementation of Naive Bayes Classifier.
- com.namsor.oss.samples - package com.namsor.oss.samples
-
This package contains three examples of Naive Bayes Classification that are well documented on the Internet : Sport / No Sport, with and without Laplace smoothing (http://ai.fon.bg.ac.rs/wp-content/uploads/2015/04/ML-Classification-NaiveBayes-2014.pdf) ; https://towardsdatascience.com/introduction-to-na%C3%AFve-bayes-classifier-fa59e3e24aaf Banana / Orange or other Fruit (https://www.machinelearningplus.com/predictive-modeling/how-naive-bayes-algorithm-works-with-example-and-full-code/) The same examples are used for unit testing.
D
- data - Static variable in class com.namsor.oss.samples.MainSample1
-
Data table as per https://taylanbil.github.io/boostedNB or http://ai.fon.bg.ac.rs/wp-content/uploads/2015/04/ML-Classification-NaiveBayes-2014.pdf
- data - Static variable in class com.namsor.oss.samples.MainSample1Laplaced
-
Data table as per https://taylanbil.github.io/boostedNB or http://ai.fon.bg.ac.rs/wp-content/uploads/2015/04/ML-Classification-NaiveBayes-2014.pdf
- data - Static variable in class com.namsor.oss.samples.MainSample3
-
Data table as per https://www.machinelearningplus.com/predictive-modeling/how-naive-bayes-algorithm-works-with-example-and-full-code/
- dbClose() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierLevelDBImpl
- dbClose() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierMapImpl
- dbClose() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierRocksDBImpl
- dbClose() - Method in interface com.namsor.oss.classify.bayes.INaiveBayesClassifier
-
Close the classifier (if persistent)
- dbCloseAndDestroy() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierLevelDBImpl
- dbCloseAndDestroy() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierMapImpl
- dbCloseAndDestroy() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierRocksDBImpl
- dbCloseAndDestroy() - Method in interface com.namsor.oss.classify.bayes.INaiveBayesClassifier
-
Close the classifier (if persistent) and destroy the database.
- dbSize() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierLevelDBImpl
- dbSize() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierMapImpl
- dbSize() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierRocksDBImpl
- dbSize() - Method in interface com.namsor.oss.classify.bayes.INaiveBayesClassifier
-
Estimate the number of key-values in DB
- dumpDb(Writer) - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierLevelDBImpl
- dumpDb(Writer) - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierMapImpl
- dumpDb(Writer) - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierRocksDBImpl
- dumpDb(Writer) - Method in interface com.namsor.oss.classify.bayes.INaiveBayesClassifier
-
Dump the current state of the model (can be large)
E
- explain(IClassification) - Method in interface com.namsor.oss.classify.bayes.INaiveBayesExplainer
-
Explain the details of the classification, ie.
- explain(IClassification) - Method in class com.namsor.oss.classify.bayes.NaiveBayesExplainerImpl
F
- finalize() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierLevelDBImpl
- finalize() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierRocksDBImpl
G
- getCategories() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierImpl
- getCategories() - Method in interface com.namsor.oss.classify.bayes.INaiveBayesClassifier
-
This classifier has an immutable list of categories
- getCategory() - Method in class com.namsor.oss.classify.bayes.ClassProbabilityImpl
- getCategory() - Method in interface com.namsor.oss.classify.bayes.IClassProbability
-
Category
- getClassification() - Method in class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
- getClassifierName() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierImpl
- getClassProbabilities() - Method in class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
- getClassProbabilities() - Method in class com.namsor.oss.classify.bayes.ClassificationImpl
- getClassProbabilities() - Method in interface com.namsor.oss.classify.bayes.IClassification
-
The ordered classes and probabilities.
- getDb() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierLevelDBImpl
- getDb() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierMapImpl
- getDb() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierRocksDBImpl
- getExplanationData() - Method in class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
- getExplanationData() - Method in class com.namsor.oss.classify.bayes.ClassificationImpl
- getExplanationData() - Method in interface com.namsor.oss.classify.bayes.IClassification
-
All the data needed to explain the results.
- getFeatures() - Method in class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
- getFeatures() - Method in class com.namsor.oss.classify.bayes.ClassificationImpl
- getFeatures() - Method in interface com.namsor.oss.classify.bayes.IClassification
-
The input features
- getLaplaceSmoothingAlpha() - Method in class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
- getLaplaceSmoothingAlpha() - Method in class com.namsor.oss.classify.bayes.ClassificationImpl
- getLaplaceSmoothingAlpha() - Method in interface com.namsor.oss.classify.bayes.IClassification
-
The alpha value used for Laplace smoothing
- getLikelyhoodExpressions() - Method in class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
- getLikelyhoodExpressions() - Method in interface com.namsor.oss.classify.bayes.IClassificationExplained
-
For each likelyhood, get the expression ex.
- getLikelyhoodFormulae() - Method in class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
- getLikelyhoodFormulae() - Method in interface com.namsor.oss.classify.bayes.IClassificationExplained
-
For each likelyhood, get the formula ex.
- getLikelyhoods() - Method in class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
- getLikelyhoods() - Method in interface com.namsor.oss.classify.bayes.IClassificationExplained
-
Get the likelyhoods values, ex.
- getProbability() - Method in class com.namsor.oss.classify.bayes.ClassProbabilityImpl
- getProbability() - Method in interface com.namsor.oss.classify.bayes.IClassProbability
-
Probability
- getRootPathWritable() - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierMapImpl
I
- IClassification - Interface in com.namsor.oss.classify.bayes
-
Classification output : class probabilities and (optionally) the features and counters for explanation / audit trail
- IClassificationExplained - Interface in com.namsor.oss.classify.bayes
-
Contains additional details on the classifications, such as the formulas or the algebraic calculation.
- IClassProbability - Interface in com.namsor.oss.classify.bayes
-
Classification output and probability estimate.
- INaiveBayesClassifier - Interface in com.namsor.oss.classify.bayes
-
Naive Bayes Classifier interface
- INaiveBayesExplainer - Interface in com.namsor.oss.classify.bayes
-
Explain the details of the classification, ie.
- isLaplaceSmoothed() - Method in class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
- isLaplaceSmoothed() - Method in class com.namsor.oss.classify.bayes.ClassificationImpl
- isLaplaceSmoothed() - Method in interface com.namsor.oss.classify.bayes.IClassification
-
Is Laplace smoothed?
- isLaplaceSmoothedVariant() - Method in class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
- isLaplaceSmoothedVariant() - Method in class com.namsor.oss.classify.bayes.ClassificationImpl
- isLaplaceSmoothedVariant() - Method in interface com.namsor.oss.classify.bayes.IClassification
-
If Laplace Smoothed With variant, then: likelyhood[i] = 1d * ((categoryCount + alpha) / (globalCount + globalCountCategories * alpha)) * product; otherwise: likelyhood[i] = 1d * categoryCount / globalCount * product;
L
- learn(String, Map<String, String>) - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierImpl
- learn(String, Map<String, String>) - Method in interface com.namsor.oss.classify.bayes.INaiveBayesClassifier
-
Learn from features
- learn(String, Map<String, String>, long) - Method in interface com.namsor.oss.classify.bayes.INaiveBayesClassifier
-
Learn from features
- learn(String, Map<String, String>, long) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierLevelDBImpl
- learn(String, Map<String, String>, long) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierLevelDBLaplacedImpl
- learn(String, Map<String, String>, long) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierMapImpl
- learn(String, Map<String, String>, long) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierMapLaplacedImpl
- learn(String, Map<String, String>, long) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierRocksDBImpl
- learn(String, Map<String, String>, long) - Method in class com.namsor.oss.classify.bayes.NaiveBayesClassifierRocksDBLaplacedImpl
- likelihoodsToProbas(double[], double) - Method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierImpl
M
- main(String[]) - Static method in class com.namsor.oss.samples.MainSample1
- main(String[]) - Static method in class com.namsor.oss.samples.MainSample1Laplaced
- main(String[]) - Static method in class com.namsor.oss.samples.MainSample2
- main(String[]) - Static method in class com.namsor.oss.samples.MainSample2Laplaced
- main(String[]) - Static method in class com.namsor.oss.samples.MainSample3
- MainSample1 - Class in com.namsor.oss.samples
-
Simple example of Naive Bayes Classification (Sport / No Sport) inspired by http://ai.fon.bg.ac.rs/wp-content/uploads/2015/04/ML-Classification-NaiveBayes-2014.pdf
- MainSample1() - Constructor for class com.namsor.oss.samples.MainSample1
- MainSample1Laplaced - Class in com.namsor.oss.samples
-
Simple example of Naive Bayes Classification (Sport / No Sport) with Laplace smoothing inspired by http://ai.fon.bg.ac.rs/wp-content/uploads/2015/04/ML-Classification-NaiveBayes-2014.pdf
- MainSample1Laplaced() - Constructor for class com.namsor.oss.samples.MainSample1Laplaced
- MainSample2 - Class in com.namsor.oss.samples
-
Simple example of Naive Bayes Classification inspired by https://towardsdatascience.com/introduction-to-na%C3%AFve-bayes-classifier-fa59e3e24aaf
- MainSample2() - Constructor for class com.namsor.oss.samples.MainSample2
- MainSample2Laplaced - Class in com.namsor.oss.samples
-
Simple example of Naive Bayes Classification with Laplace smoothing inspired by https://towardsdatascience.com/introduction-to-na%C3%AFve-bayes-classifier-fa59e3e24aaf
- MainSample2Laplaced() - Constructor for class com.namsor.oss.samples.MainSample2Laplaced
- MainSample3 - Class in com.namsor.oss.samples
-
Simple example of Naive Bayes Classification (Banana, Orange or other Fruit) inspired by https://www.machinelearningplus.com/predictive-modeling/how-naive-bayes-algorithm-works-with-example-and-full-code/
- MainSample3() - Constructor for class com.namsor.oss.samples.MainSample3
N
- NaiveBayesClassifierLevelDBImpl - Class in com.namsor.oss.classify.bayes
-
Naive Bayes Classifier implementation with LevelDB as key/value store.
- NaiveBayesClassifierLevelDBImpl(String, String[], String) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierLevelDBImpl
-
Create a persistent Naive Bayes Classifier using LevelDB, with default cache size
- NaiveBayesClassifierLevelDBLaplacedImpl - Class in com.namsor.oss.classify.bayes
-
Naive Bayes Classifier implementation with Laplace smoothing and LevelDB as key/value store.
- NaiveBayesClassifierLevelDBLaplacedImpl(String, String[], String) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierLevelDBLaplacedImpl
-
Create a Naive Bayes Classifier implementation with Laplace smoothing and LevelDB as key/value store, with defaults ALPHA=1 and VARIANT=false
- NaiveBayesClassifierLevelDBLaplacedImpl(String, String[], String, double, boolean) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierLevelDBLaplacedImpl
-
Create a Naive Bayes Classifier implementation with Laplace smoothing and LevelDB as key/value store.
- NaiveBayesClassifierMapImpl - Class in com.namsor.oss.classify.bayes
-
A simple, scalable Naive Bayes Classifier, based on a key-value store (in memory using ConcurrentHashMap, or disk-based using org.mapdb.HTreeMap)
- NaiveBayesClassifierMapImpl(String, String[]) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierMapImpl
-
Create in-memory classifier using ConcurrentHashMap
- NaiveBayesClassifierMapImpl(String, String[], String) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierMapImpl
-
Create persistent classifier using org.mapdb.HTreeMap
- NaiveBayesClassifierMapLaplacedImpl - Class in com.namsor.oss.classify.bayes
-
Naive Bayes Classifier with Laplace smoothing and implementation with concurrent ConcurrentHashMap or persistent mapDB.
- NaiveBayesClassifierMapLaplacedImpl(String, String[]) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierMapLaplacedImpl
-
Create in-memory classifier using ConcurrentHashMap and defaults for Laplace smoothing (ALPHA=1 and VARIANT=false)
- NaiveBayesClassifierMapLaplacedImpl(String, String[], double, boolean) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierMapLaplacedImpl
-
Create a classifier with in-memory ConcurrentHashMap and Laplace parameters
- NaiveBayesClassifierMapLaplacedImpl(String, String[], double, boolean, String) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierMapLaplacedImpl
-
Create persistent classifier using org.mapdb.HTreeMap and Laplace parameters
- NaiveBayesClassifierMapLaplacedImpl(String, String[], String) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierMapLaplacedImpl
-
Create persistent classifier using org.mapdb.HTreeMap and defaults for Laplace smoothing (ALPHA=1 and VARIANT=false)
- NaiveBayesClassifierRocksDBImpl - Class in com.namsor.oss.classify.bayes
-
Naive Bayes Classifier implementation with RocksDB as key/value store.
- NaiveBayesClassifierRocksDBImpl(String, String[], String) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierRocksDBImpl
-
Create a Naive Bayes Classifier implementation with RocksDB as key/value store.
- NaiveBayesClassifierRocksDBLaplacedImpl - Class in com.namsor.oss.classify.bayes
-
Naive Bayes Classifier with Laplace smoothing and implementation with RocksDB as key/value store.
- NaiveBayesClassifierRocksDBLaplacedImpl(String, String[], String) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierRocksDBLaplacedImpl
-
Create a Naive Bayes Classifier implementation with RocksDB as key/value store and defaults for Laplace smoothing (ALPHA=1 and VARIANT=false)
- NaiveBayesClassifierRocksDBLaplacedImpl(String, String[], String, double, boolean) - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesClassifierRocksDBLaplacedImpl
-
Create a Naive Bayes Classifier implementation with RocksDB as key/value store.
- NaiveBayesExplainerImpl - Class in com.namsor.oss.classify.bayes
-
Explain the details of the Naive Bayes Classification, ie.
- NaiveBayesExplainerImpl() - Constructor for class com.namsor.oss.classify.bayes.NaiveBayesExplainerImpl
-
Create an explainer
- NO - Static variable in class com.namsor.oss.samples.MainSample1
- NO - Static variable in class com.namsor.oss.samples.MainSample1Laplaced
O
- ONE - Static variable in class com.namsor.oss.samples.MainSample2
- ONE - Static variable in class com.namsor.oss.samples.MainSample2Laplaced
- ORANGE - Static variable in class com.namsor.oss.samples.MainSample3
- orderByProba - Variable in class com.namsor.oss.classify.bayes.AbstractNaiveBayesClassifierImpl
- OTHER - Static variable in class com.namsor.oss.samples.MainSample3
P
- pathCategory(String) - Static method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesImpl
-
Path to the number of observations in a category
- pathCategoryFeatureKey(String, String) - Static method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesImpl
-
Path to the number of observations in a category, with feature featureKey
- pathCategoryFeatureKeyValue(String, String, String) - Static method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesImpl
-
Path to the number of observations in a category, with feature featureKey and value featureValue
- pathFeatureKey(String) - Static method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesImpl
-
Path to the counter for featureKey
- pathFeatureKeyCountValueTypes(String) - Static method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesImpl
-
Path to the number of distinct value types for feature featureKey
- pathFeatureKeyValue(String, String) - Static method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesImpl
-
Path to the number of observations with feature featureKey and feature value featureValue
- pathGlobal() - Static method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesImpl
-
Path to the total number of observations
- pathGlobalCountCategories() - Static method in class com.namsor.oss.classify.bayes.AbstractNaiveBayesImpl
-
Path to the total count of distinct categories
- PersistentClassifierException - Exception in com.namsor.oss.classify.bayes
-
Exception raised by the KeyValue backend
- PersistentClassifierException(String) - Constructor for exception com.namsor.oss.classify.bayes.PersistentClassifierException
- PersistentClassifierException(String, Throwable) - Constructor for exception com.namsor.oss.classify.bayes.PersistentClassifierException
- PersistentClassifierException(Throwable) - Constructor for exception com.namsor.oss.classify.bayes.PersistentClassifierException
T
- toString() - Method in class com.namsor.oss.classify.bayes.ClassificationExplainedImpl
-
Print to String that can be interpreted as JavaScript and return the highest probability value
- toString() - Method in class com.namsor.oss.classify.bayes.ClassProbabilityImpl
X
- X1 - Static variable in class com.namsor.oss.samples.MainSample2
- X1 - Static variable in class com.namsor.oss.samples.MainSample2Laplaced
- X2 - Static variable in class com.namsor.oss.samples.MainSample2
- X2 - Static variable in class com.namsor.oss.samples.MainSample2Laplaced
Y
- Y - Static variable in class com.namsor.oss.samples.MainSample2
- Y - Static variable in class com.namsor.oss.samples.MainSample2Laplaced
- YES - Static variable in class com.namsor.oss.samples.MainSample1
- YES - Static variable in class com.namsor.oss.samples.MainSample1Laplaced
Z
- ZERO - Static variable in class com.namsor.oss.samples.MainSample2
- ZERO - Static variable in class com.namsor.oss.samples.MainSample2Laplaced
All Classes All Packages