public class TreeConverter extends Object
Constructor and Description |
---|
TreeConverter() |
Modifier and Type | Method and Description |
---|---|
static CART |
c45toStringCART(weka.classifiers.trees.j48.C45PruneableClassifierTree c45Tree,
FeatureDefinition aFeatDef,
weka.core.Instances inst)
This converts the WEKA-style ClassifierTree into a Mary CART tree.
|
static StringPredictionTree |
c45toStringPredictionTree(weka.classifiers.trees.j48.C45PruneableClassifierTree c45Tree,
FeatureDefinition aFeatDef,
weka.core.Instances inst)
This converts the WEKA-style ClassifierTree into a Mary CART tree.
|
public static StringPredictionTree c45toStringPredictionTree(weka.classifiers.trees.j48.C45PruneableClassifierTree c45Tree, FeatureDefinition aFeatDef, weka.core.Instances inst)
c45Tree
- c45TreeaFeatDef
- a FeatureDefinition storing possible attributes and values as they are used within MARY.inst
- a container for storing WEKA instances. Also describing possible attributes and values.public static CART c45toStringCART(weka.classifiers.trees.j48.C45PruneableClassifierTree c45Tree, FeatureDefinition aFeatDef, weka.core.Instances inst)
c45Tree
- c45TreeaFeatDef
- a FeatureDefinition storing possible attributes and values as they are used within MARY.inst
- a container for storing WEKA instances. Also describing possible attributes and values.Copyright © 2000–2016 DFKI GmbH. All rights reserved.