weka.roughset
Class RoughSet
java.lang.Object
|
+--weka.roughset.RoughSet
- public class RoughSet
- extends Object
Method Summary |
static RoughInstances |
lowerApproximation(Instances instances,
AttributeValuePair d)
|
static RoughInstances |
lowerApproximation(SortedClasses s,
RoughInstances i)
|
static void |
main(String[] args)
|
static int |
minSubtableSize(Instances i,
double accuracy,
double error,
Reducts r,
int maxIterations)
Calculate the minimal size of a subtable to use for
stability calculation |
static boolean |
nonEmptyIntersection(RoughInstances set1,
RoughInstances set2)
|
static int |
positiveRegionSize(SortedClasses s)
|
static boolean |
sameClass(Instance i1,
Instance i2,
Attributes attributes)
|
static boolean |
sameDecision(RoughInstances rInsts)
|
static boolean |
subsetOf(RoughInstances subSet,
RoughInstances set)
|
static RoughInstances |
upperApproximation(Instances instances,
AttributeValuePair decision)
|
static RoughInstances |
upperApproximation(SortedClasses s,
RoughInstances i)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoughSet
public RoughSet()
sameClass
public static boolean sameClass(Instance i1,
Instance i2,
Attributes attributes)
sameDecision
public static boolean sameDecision(RoughInstances rInsts)
subsetOf
public static boolean subsetOf(RoughInstances subSet,
RoughInstances set)
nonEmptyIntersection
public static boolean nonEmptyIntersection(RoughInstances set1,
RoughInstances set2)
lowerApproximation
public static RoughInstances lowerApproximation(SortedClasses s,
RoughInstances i)
lowerApproximation
public static RoughInstances lowerApproximation(Instances instances,
AttributeValuePair d)
upperApproximation
public static RoughInstances upperApproximation(SortedClasses s,
RoughInstances i)
upperApproximation
public static RoughInstances upperApproximation(Instances instances,
AttributeValuePair decision)
minSubtableSize
public static int minSubtableSize(Instances i,
double accuracy,
double error,
Reducts r,
int maxIterations)
throws Exception
- Calculate the minimal size of a subtable to use for
stability calculation
Exception
positiveRegionSize
public static int positiveRegionSize(SortedClasses s)
main
public static void main(String[] args)