|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weka.roughset.Reduct
Constructor Summary | |
Reduct(Attributes a,
Instance i)
|
|
Reduct(Attributes a,
Instance i,
Instances insts)
|
|
Reduct(MDCutPoints c,
Attributes a,
Instances i)
|
Method Summary | |
boolean |
equals(Object o)
|
Attributes |
getAttributes()
Get the value of attributes. |
boolean |
getCompareDataSets()
Get the value of compareDataSets. |
MDCutPoints |
getCuts()
Get the value of cuts. |
Instance |
getInstance()
Get the value of instance. |
Instances |
getInstances()
Get the value of instances. |
Reducts |
getReductSet()
Get the value of reductSet. |
int |
hashCode()
|
static boolean |
isProperReduct(Attributes a,
Instances i)
Can we remove an attribute from a reduct and still have a reduct? |
static boolean |
isReduct(Attributes a,
Instances i)
Do the equivalence classes induced by the attributes in 'a' have the same decision values? |
static void |
main(String[] args)
|
void |
setAttributes(Attributes v)
Set the value of attributes. |
void |
setCompareDataSets(boolean v)
Set the value of compareDataSets. |
void |
setCuts(MDCutPoints v)
Set the value of cuts. |
void |
setInstance(Instance v)
Set the value of instance. |
void |
setInstances(Instances v)
Set the value of instances. |
void |
setReductSet(Reducts v)
Set the value of reductSet. |
int |
size()
|
double |
stability()
In the reduct set that this reduct is part of, how many other reducts have the same set of attributes but different reduct domains? |
boolean |
subsetOf(Reduct r)
|
String |
toInfoString()
|
String |
toString()
|
static Reduct |
trimReduct(Reduct superReduct)
Algorithm 6 in some Efficient Algorithms for Rough Set methods |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Reduct(MDCutPoints c, Attributes a, Instances i)
public Reduct(Attributes a, Instance i)
public Reduct(Attributes a, Instance i, Instances insts)
Method Detail |
public Instance getInstance()
public void setInstance(Instance v)
v
- Value to assign to instance.public MDCutPoints getCuts()
public void setCuts(MDCutPoints v)
v
- Value to assign to cuts.public Attributes getAttributes()
public void setAttributes(Attributes v)
v
- Value to assign to attributes.public Instances getInstances()
public void setInstances(Instances v)
v
- Value to assign to instances.public boolean getCompareDataSets()
public void setCompareDataSets(boolean v)
v
- Value to assign to compareDataSets.public Reducts getReductSet()
public void setReductSet(Reducts v)
v
- Value to assign to reductSet.public boolean equals(Object o)
equals
in class Object
public double stability()
public boolean subsetOf(Reduct r)
public static boolean isReduct(Attributes a, Instances i)
public static boolean isProperReduct(Attributes a, Instances i)
public static Reduct trimReduct(Reduct superReduct)
public String toString()
toString
in class Object
public String toInfoString()
public int hashCode()
hashCode
in class Object
public int size()
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |