Package moltsen.AI.NaiveBayes.model
Class NaiveBayesData
- java.lang.Object
-
- moltsen.AI.NaiveBayes.model.NaiveBayesData
-
public class NaiveBayesData extends Object
The data representation of a Naive Bayes classifier.- Version:
- 1.0
- Author:
- Lars Moltsen
-
-
Constructor Summary
Constructors Constructor Description NaiveBayesData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayList<String>
getClassLabels()
ArrayList<FeatureData>
getFeatures()
ArrayList<Double>
getPriorProbabilities()
void
setClassLabels(ArrayList<String> classLabels)
void
setFeatures(ArrayList<FeatureData> features)
void
setPriorProbabilities(ArrayList<Double> priorProbabilities)
-
-
-
Method Detail
-
getFeatures
public ArrayList<FeatureData> getFeatures()
-
setFeatures
public void setFeatures(ArrayList<FeatureData> features)
-
-