weka.roughset
Class CutPoint
java.lang.Object
|
+--weka.roughset.CutPoint
- public class CutPoint
- extends Object
CutPoint
public CutPoint(Attribute a,
double c,
Collection inBetween,
Instances i)
throws UnsupportedAttributeTypeException
CutPoint
public CutPoint(CutPoint c,
double cutValue,
Collection inBetween)
throws Exception
getDebug
public int getDebug()
- Get the value of debug.
- Returns:
- value of debug.
setDebug
public void setDebug(int v)
- Set the value of debug.
- Parameters:
v
- Value to assign to debug.
getInstances
public Instances getInstances()
getClassValue
public double getClassValue()
getLeftModClass
public int[] getLeftModClass()
getRightModClass
public int[] getRightModClass()
getLeftModClass
public int getLeftModClass(int i)
getRightModClass
public int getRightModClass(int i)
getLeftModDecision
public int getLeftModDecision()
getRightModDecision
public int getRightModDecision()
getAttribute
public Attribute getAttribute()
getCut
public double getCut()
getDiscerned
public int getDiscerned()
getLeftOfCut
public int getLeftOfCut()
getLeftOfCut
public RoughInstances getLeftOfCut(RoughInstances r)
getRightOfCut
public int getRightOfCut()
getRightOfCut
public RoughInstances getRightOfCut(RoughInstances r)
getDiscerned
public int getDiscerned(RoughInstances insts)
getDiscerned
public int getDiscerned(SortedClasses classes)
leftOfCut
public boolean leftOfCut(Instance i)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
toInfoString
public String toInfoString()