public class DDAG extends OneVSOne
OneVSOne
, DDAG results are hard classification decisions, and will
not give probabilistic estimates. Accuracy is often very similar, but DDAG
classification speed can be significantly faster, as it does not evaluate all
possible combinations of classifiers.baseClassifier, oneVone, predicting
Constructor and Description |
---|
DDAG(Classifier baseClassifier)
Creates a new DDAG classifier to extend a binary classifier to handle multi-class problems.
|
DDAG(Classifier baseClassifier,
boolean concurrentTrain)
Creates a new DDAG classifier to extend a binary classifier to handle multi-class problems.
|
Modifier and Type | Method and Description |
---|---|
CategoricalResults |
classify(DataPoint data)
Performs classification on the given data point.
|
DDAG |
clone() |
getParameter, getParameters, isConcurrentTraining, setConcurrentTraining, supportsWeightedData, trainC, trainC
public DDAG(Classifier baseClassifier, boolean concurrentTrain)
baseClassifier
- the binary classifier to extendconcurrentTrain
- true to have training of individual
classifiers occur in parallel, false to have them use their
native parallel training method.public DDAG(Classifier baseClassifier)
baseClassifier
- the binary classifier to extendpublic CategoricalResults classify(DataPoint data)
Classifier
classify
in interface Classifier
classify
in class OneVSOne
data
- the data point to classifypublic DDAG clone()
clone
in interface Classifier
clone
in class OneVSOne
Copyright © 2017. All rights reserved.