public class TreeConverter
extends java.lang.Object
| Constructor and Description |
|---|
TreeConverter() |
| Modifier and Type | Method and Description |
|---|---|
static marytts.cart.CART |
c45toStringCART(weka.classifiers.trees.j48.C45PruneableClassifierTree c45Tree,
marytts.features.FeatureDefinition aFeatDef,
weka.core.Instances inst)
This converts the WEKA-style ClassifierTree into a Mary CART tree.
|
static marytts.cart.StringPredictionTree |
c45toStringPredictionTree(weka.classifiers.trees.j48.C45PruneableClassifierTree c45Tree,
marytts.features.FeatureDefinition aFeatDef,
weka.core.Instances inst)
This converts the WEKA-style ClassifierTree into a Mary CART tree.
|
public static marytts.cart.StringPredictionTree c45toStringPredictionTree(weka.classifiers.trees.j48.C45PruneableClassifierTree c45Tree,
marytts.features.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 marytts.cart.CART c45toStringCART(weka.classifiers.trees.j48.C45PruneableClassifierTree c45Tree,
marytts.features.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.