Package com.namsor.oss.classify.bayes
Class NaiveBayesExplainerImpl
- java.lang.Object
-
- com.namsor.oss.classify.bayes.AbstractNaiveBayesImpl
-
- com.namsor.oss.classify.bayes.NaiveBayesExplainerImpl
-
- All Implemented Interfaces:
INaiveBayesExplainer
public class NaiveBayesExplainerImpl extends AbstractNaiveBayesImpl implements INaiveBayesExplainer
Explain the details of the Naive Bayes Classification, ie. formulae and algebraic expression. This will re-run the algorithm but append additional information : - likelyhood values - likelyhood formulae - likelyhood expressions- Author:
- elian
-
-
Constructor Summary
Constructors Constructor Description NaiveBayesExplainerImpl()
Create an explainer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IClassificationExplained
explain(IClassification classification)
Explain the details of the classification, ie.-
Methods inherited from class com.namsor.oss.classify.bayes.AbstractNaiveBayesImpl
pathCategory, pathCategoryFeatureKey, pathCategoryFeatureKeyValue, pathFeatureKey, pathFeatureKeyCountValueTypes, pathFeatureKeyValue, pathGlobal, pathGlobalCountCategories
-
-
-
-
Method Detail
-
explain
public IClassificationExplained explain(IClassification classification) throws ClassifyException
Description copied from interface:INaiveBayesExplainer
Explain the details of the classification, ie. formulae and algebraic expression.- Specified by:
explain
in interfaceINaiveBayesExplainer
- Parameters:
classification
- A classification, with the explainData needed for explanation- Returns:
- An explanation of the classification, ie. formulae and algebraic expression.
- Throws:
ClassifyException
- The error and cause
-
-