Package | Description |
---|---|
org.apache.mahout.classifier.df | |
org.apache.mahout.classifier.df.data | |
org.apache.mahout.classifier.df.data.conditions | |
org.apache.mahout.classifier.df.node |
Modifier and Type | Method and Description |
---|---|
double |
DecisionForest.classify(Dataset dataset,
Random rng,
Instance instance)
predicts the label for the instance
|
Modifier and Type | Method and Description |
---|---|
Instance |
DataConverter.convert(CharSequence string) |
Instance |
Data.get(int index)
Returns the element at the specified position
|
Modifier and Type | Method and Description |
---|---|
boolean |
Data.contains(Instance v) |
double |
Dataset.getLabel(Instance instance) |
Constructor and Description |
---|
Data(Dataset dataset,
List<Instance> instances) |
Modifier and Type | Method and Description |
---|---|
boolean |
Lesser.isTrueFor(Instance instance) |
boolean |
GreaterOrEquals.isTrueFor(Instance v) |
boolean |
Equals.isTrueFor(Instance instance) |
abstract boolean |
Condition.isTrueFor(Instance instance)
Returns true is the checked instance matches the condition
|
Modifier and Type | Method and Description |
---|---|
double |
NumericalNode.classify(Instance instance) |
abstract double |
Node.classify(Instance instance)
predicts the label for the instance
|
double |
Leaf.classify(Instance instance) |
double |
CategoricalNode.classify(Instance instance) |
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.