|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Datastore in org.apache.mahout.classifier.bayes.algorithm |
---|
Methods in org.apache.mahout.classifier.bayes.algorithm with parameters of type Datastore | |
---|---|
ClassifierResult |
CBayesAlgorithm.classifyDocument(java.lang.String[] document,
Datastore datastore,
java.lang.String defaultCategory)
|
ClassifierResult |
BayesAlgorithm.classifyDocument(java.lang.String[] document,
Datastore datastore,
java.lang.String defaultCategory)
|
ClassifierResult[] |
CBayesAlgorithm.classifyDocument(java.lang.String[] document,
Datastore datastore,
java.lang.String defaultCategory,
int numResults)
|
ClassifierResult[] |
BayesAlgorithm.classifyDocument(java.lang.String[] document,
Datastore datastore,
java.lang.String defaultCategory,
int numResults)
|
double |
CBayesAlgorithm.documentWeight(Datastore datastore,
java.lang.String label,
java.lang.String[] document)
|
double |
BayesAlgorithm.documentWeight(Datastore datastore,
java.lang.String label,
java.lang.String[] document)
|
double |
CBayesAlgorithm.featureWeight(Datastore datastore,
java.lang.String label,
java.lang.String feature)
|
double |
BayesAlgorithm.featureWeight(Datastore datastore,
java.lang.String label,
java.lang.String feature)
|
java.util.Collection<java.lang.String> |
CBayesAlgorithm.getLabels(Datastore datastore)
|
java.util.Collection<java.lang.String> |
BayesAlgorithm.getLabels(Datastore datastore)
|
void |
CBayesAlgorithm.initialize(Datastore datastore)
|
void |
BayesAlgorithm.initialize(Datastore datastore)
|
Uses of Datastore in org.apache.mahout.classifier.bayes.datastore |
---|
Classes in org.apache.mahout.classifier.bayes.datastore that implement Datastore | |
---|---|
class |
HBaseBayesDatastore
Class implementing the Datastore for Algorithms to read HBase based model |
class |
InMemoryBayesDatastore
Class implementing the Datastore for Algorithms to read In-Memory model |
Uses of Datastore in org.apache.mahout.classifier.bayes.interfaces |
---|
Methods in org.apache.mahout.classifier.bayes.interfaces with parameters of type Datastore | |
---|---|
ClassifierResult |
Algorithm.classifyDocument(java.lang.String[] document,
Datastore datastore,
java.lang.String defaultCategory)
Classify the document and return the Result |
ClassifierResult[] |
Algorithm.classifyDocument(java.lang.String[] document,
Datastore datastore,
java.lang.String defaultCategory,
int numResults)
Classify the document and return the top numResults |
double |
Algorithm.documentWeight(Datastore datastore,
java.lang.String label,
java.lang.String[] document)
Calculate the document weight as the dot product of document vector and the corresponding weight vector of a particular class |
double |
Algorithm.featureWeight(Datastore datastore,
java.lang.String label,
java.lang.String feature)
Get the weighted probability of the feature. |
java.util.Collection<java.lang.String> |
Algorithm.getLabels(Datastore datastore)
Returns the labels in the given Model |
void |
Algorithm.initialize(Datastore datastore)
Initialize the data store and verifies the data in it. |
Uses of Datastore in org.apache.mahout.classifier.bayes.model |
---|
Constructors in org.apache.mahout.classifier.bayes.model with parameters of type Datastore | |
---|---|
ClassifierContext(Algorithm algorithm,
Datastore datastore)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |