|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExplainableClassifierModel
An interface for classifier models that will allow explanations to be generated inidicating why (or why not) particular documents were (or were not) classified into a given class.
Method Summary | |
---|---|
java.lang.String |
describe()
Describes the classifier model. |
java.util.List<WeightedFeature> |
explain(java.lang.String key)
Explains the score that a given document would get for this classifier. |
java.lang.String |
explain(java.lang.String key,
boolean includeDocTerms)
Explains why (or why not) the document with the given key would (or would not) be classified into this class. |
Method Detail |
---|
java.lang.String describe()
java.lang.String explain(java.lang.String key, boolean includeDocTerms)
key
- the key of the document whose classification we want to explainincludeDocTerms
- if true, the explanation will include a description
of the terms from the document.
java.util.List<WeightedFeature> explain(java.lang.String key)
key
- the key of the document that we want to explain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |