|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.cantminer.ThresholdHelper
public class ThresholdHelper
Utility class to calculate threshold values for continuous attributes.
Constructor Summary | |
---|---|
ThresholdHelper(net.sf.myra.datamining.data.Metadata metadata)
Default constructor. |
Method Summary | |
---|---|
net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> |
create(net.sf.myra.datamining.data.ContinuousAttribute attribute,
net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> vertex,
java.util.List<net.sf.myra.datamining.data.Instance> instances)
Returns a copy of the specified vertex with a continuous attribute threshold information. |
net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> |
create(net.sf.myra.datamining.data.ContinuousAttribute attribute,
net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> vertex,
java.util.List<net.sf.myra.datamining.data.Instance> instances,
boolean first)
Returns a copy of the specified vertex with a continuous attribute threshold information. |
net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> |
create(net.sf.myra.datamining.data.ContinuousAttribute attribute,
net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> vertex,
java.util.List<net.sf.myra.datamining.data.Instance> instances,
java.lang.String value)
Returns a copy of the specified vertex with a continuous attribute threshold information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThresholdHelper(net.sf.myra.datamining.data.Metadata metadata)
metadata
- the current metadata instance.Method Detail |
---|
public net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> create(net.sf.myra.datamining.data.ContinuousAttribute attribute, net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> vertex, java.util.List<net.sf.myra.datamining.data.Instance> instances)
attribute
- the continuous attribute name instance.vertex
- the vertex representing the continuous attribute.instances
- the instances used in the threshold calculation.
public net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> create(net.sf.myra.datamining.data.ContinuousAttribute attribute, net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> vertex, java.util.List<net.sf.myra.datamining.data.Instance> instances, java.lang.String value)
attribute
- the continuous attribute name instance.vertex
- the vertex representing the continuous attribute.instances
- the instances used in the threshold calculation.value
- the target class value.
public net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> create(net.sf.myra.datamining.data.ContinuousAttribute attribute, net.sf.myra.framework.Vertex<net.sf.myra.datamining.data.Term> vertex, java.util.List<net.sf.myra.datamining.data.Instance> instances, boolean first)
attribute
- the continuous attribute name instance.vertex
- the vertex representing the continuous attribute.instances
- the instances used in the threshold calculation.first
- indicates if the specified vertex is the first of the trail
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |