A C D F G M N R S V 
All Classes All Packages

A

addClassLabel(String) - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Add a class label.
addFeature(String) - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Adds a feature.
addState(String, String) - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Adds a new state of the given feature.

C

classify(Map<String, String>) - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
The Naive Bayes classifiaction algorithm.

D

DataStructureException - Exception in moltsen.AI.NaiveBayes
An exception used to inform about structural problems in the Naive Bayes classifier.
DataStructureException(String) - Constructor for exception moltsen.AI.NaiveBayes.DataStructureException
 

F

FeatureData - Class in moltsen.AI.NaiveBayes.model
The data representation of a feature.
FeatureData() - Constructor for class moltsen.AI.NaiveBayes.model.FeatureData
 

G

getClassLabels() - Method in class moltsen.AI.NaiveBayes.model.NaiveBayesData
 
getClassLabels() - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Returns all class labels.
getConditionalProbabilities() - Method in class moltsen.AI.NaiveBayes.model.StateData
 
getConditionalProbabilities(String, String) - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Returns the conditional probabilities of some feature state given all class labels.
getFeatures() - Method in class moltsen.AI.NaiveBayes.model.NaiveBayesData
 
getFeatures() - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Returns all features.
getLabel() - Method in class moltsen.AI.NaiveBayes.model.StateData
 
getName() - Method in class moltsen.AI.NaiveBayes.model.FeatureData
 
getPriorProbabilities() - Method in class moltsen.AI.NaiveBayes.model.NaiveBayesData
 
getPriorProbabilities() - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Returns prior probabilities.
getStates() - Method in class moltsen.AI.NaiveBayes.model.FeatureData
 
getStates(String) - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Returns the states of a feature.

M

moltsen.AI.NaiveBayes - package moltsen.AI.NaiveBayes
This package provides the functionality to build and execute a Naive Bayes classifier.
moltsen.AI.NaiveBayes.model - package moltsen.AI.NaiveBayes.model
This package is used by the NaiveBayes classifier package.

N

NaiveBayesClassifier - Class in moltsen.AI.NaiveBayes
Add class labels, features with any number of states, prior and conditional probabilities.
NaiveBayesClassifier() - Constructor for class moltsen.AI.NaiveBayes.NaiveBayesClassifier
 
NaiveBayesData - Class in moltsen.AI.NaiveBayes.model
The data representation of a Naive Bayes classifier.
NaiveBayesData() - Constructor for class moltsen.AI.NaiveBayes.model.NaiveBayesData
 

R

removeFeature(String) - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Remove a feature.
removeLabel(String) - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Removes the specified label.
removeState(String, String) - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Removes a state.

S

setClassLabels(ArrayList<String>) - Method in class moltsen.AI.NaiveBayes.model.NaiveBayesData
 
setConditionalProbabilities(ArrayList<Double>) - Method in class moltsen.AI.NaiveBayes.model.StateData
 
setConditionalProbability(String, String, String, double) - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Set the conditional probability of a state given a class label.
setFeatures(ArrayList<FeatureData>) - Method in class moltsen.AI.NaiveBayes.model.NaiveBayesData
 
setLabel(String) - Method in class moltsen.AI.NaiveBayes.model.StateData
 
setName(String) - Method in class moltsen.AI.NaiveBayes.model.FeatureData
 
setPriorProbabilities(ArrayList<Double>) - Method in class moltsen.AI.NaiveBayes.model.NaiveBayesData
 
setPriorProbability(String, double) - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Set the prior (default) probability of a class label.
setStates(ArrayList<StateData>) - Method in class moltsen.AI.NaiveBayes.model.FeatureData
 
StateData - Class in moltsen.AI.NaiveBayes.model
The data representation of a feature state.
StateData() - Constructor for class moltsen.AI.NaiveBayes.model.StateData
 

V

validate() - Method in class moltsen.AI.NaiveBayes.NaiveBayesClassifier
Examines the consistency of prior and conditional probabilities and throws an exception if inconsistent.
A C D F G M N R S V 
All Classes All Packages