|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.antree.Builder
public class Builder
Field Summary | |
---|---|
static java.lang.String |
ALPHA
The property key under which the alpha parameter is stored. |
static java.lang.String |
BETA
The property key under which the beta parameter is stored. |
static java.lang.String |
MINIMUM_INSTANCES
The property key under which the minimum number of instances for each branch is stored. |
Constructor Summary | |
---|---|
Builder(Graph graph,
net.sf.myra.datamining.data.Metadata metadata,
net.sf.myra.datamining.data.Label majority)
Default constructor. |
Method Summary | |
---|---|
Tree |
build(net.sf.myra.datamining.data.Dataset dataset)
Returns a decision tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MINIMUM_INSTANCES
public static final java.lang.String ALPHA
public static final java.lang.String BETA
Constructor Detail |
---|
public Builder(Graph graph, net.sf.myra.datamining.data.Metadata metadata, net.sf.myra.datamining.data.Label majority)
graph
- the constructions graph.metadata
- the dataset's metadata.majority
- the majority label.Method Detail |
---|
public Tree build(net.sf.myra.datamining.data.Dataset dataset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |