|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Datastore | |
---|---|
org.apache.mahout.classifier.bayes | Introduction |
Uses of Datastore in org.apache.mahout.classifier.bayes |
---|
Classes in org.apache.mahout.classifier.bayes that implement Datastore | |
---|---|
class |
InMemoryBayesDatastore
Class implementing the Datastore for Algorithms to read In-Memory model |
Methods in org.apache.mahout.classifier.bayes with parameters of type Datastore | |
---|---|
ClassifierResult |
CBayesAlgorithm.classifyDocument(String[] document,
Datastore datastore,
String defaultCategory)
|
ClassifierResult |
BayesAlgorithm.classifyDocument(String[] document,
Datastore datastore,
String defaultCategory)
|
ClassifierResult |
Algorithm.classifyDocument(String[] document,
Datastore datastore,
String defaultCategory)
Classify the document and return the Result |
ClassifierResult[] |
Algorithm.classifyDocument(String[] document,
Datastore datastore,
String defaultCategory,
int numResults)
Classify the document and return the top numResults |
double |
CBayesAlgorithm.documentWeight(Datastore datastore,
String label,
String[] document)
|
double |
BayesAlgorithm.documentWeight(Datastore datastore,
String label,
String[] document)
|
double |
Algorithm.documentWeight(Datastore datastore,
String label,
String[] document)
Calculate the document weight as the dot product of document vector and the corresponding weight vector of a particular class |
double |
CBayesAlgorithm.featureWeight(Datastore datastore,
String label,
String feature)
|
double |
BayesAlgorithm.featureWeight(Datastore datastore,
String label,
String feature)
|
double |
Algorithm.featureWeight(Datastore datastore,
String label,
String feature)
Get the weighted probability of the feature. |
Collection<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. |
Constructors in org.apache.mahout.classifier.bayes with parameters of type Datastore | |
---|---|
ClassifierContext(Algorithm algorithm,
Datastore datastore)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |