|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.liacs.subdisc.Subgroup
public class Subgroup
A Subgroup contains a number of instances from the original data. Subgroups
are formed by, a number of, Condition
s. Its members include
: a ConditionList
, a BitSet representing the instances
included in this Subgroup, the number of instances in this Subgroup (its
coverage), a unique identifier, and the value used to form this Subgroup. It
may also contain a DAG
, and a SubgroupSet
.
Condition
,
ConditionList
,
DAG
,
MiningWindow
,
SubgroupDiscovery
,
SubgroupSet
,
Condition
Constructor Summary | |
---|---|
Subgroup(ConditionList theConditions,
java.util.BitSet theMembers,
int theDepth)
Creates a Subgroup, but for the Bayesian setting. |
|
Subgroup(double theMeasureValue,
int theCoverage,
int theDepth,
SubgroupSet theSubgroupSet)
Creates a Subgroup. |
Method Summary | |
---|---|
void |
addCondition(Condition theCondition)
|
int |
compareTo(Subgroup theSubgroup)
|
Subgroup |
copy()
|
boolean |
covers(int theRow)
|
ConditionList |
getConditions()
|
int |
getCoverage()
|
DAG |
getDAG()
|
int |
getDepth()
|
java.lang.Float |
getFalsePositiveRate()
Returns the FalsePositiveRate for this Subgroup. |
int |
getID()
|
double |
getMeasureValue()
|
java.util.BitSet |
getMembers()
|
int |
getNrConditions()
|
SubgroupSet |
getParentSet()
TODO Even for the SubgroupSet.getROCList code this is NOT enough. |
double |
getPValue()
|
java.lang.Float |
getTruePositiveRate()
Returns the TruePositiveRate for this Subgroup. |
void |
print()
|
void |
renouncePValue()
|
void |
setDAG(DAG theDAG)
|
void |
setEmpiricalPValue(double[] theQualities)
|
void |
setID(int theID)
|
void |
setMeasureValue(double theMeasureValue)
|
void |
setMembers(java.util.BitSet theMembers)
|
void |
setPValue(NormalDistribution theDistro)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Subgroup(double theMeasureValue, int theCoverage, int theDepth, SubgroupSet theSubgroupSet)
theMeasureValue
- the value used to create this Subgroup.theCoverage
- the number of instances contained in this Subgroup.theDepth
- theSubgroupSet
- the SubgroupSet this Subgroup is contained in.public Subgroup(ConditionList theConditions, java.util.BitSet theMembers, int theDepth)
theConditions
- theMembers
- theDepth
- Method Detail |
---|
public void addCondition(Condition theCondition)
public Subgroup copy()
public void print()
public java.util.BitSet getMembers()
public void setMembers(java.util.BitSet theMembers)
public boolean covers(int theRow)
public int getID()
public void setID(int theID)
public double getMeasureValue()
public void setMeasureValue(double theMeasureValue)
public void setDAG(DAG theDAG)
public DAG getDAG()
public int getCoverage()
public ConditionList getConditions()
public int getNrConditions()
public int getDepth()
public int compareTo(Subgroup theSubgroup)
compareTo
in interface java.lang.Comparable<Subgroup>
public SubgroupSet getParentSet()
public java.lang.Float getTruePositiveRate()
public java.lang.Float getFalsePositiveRate()
public double getPValue()
public void setPValue(NormalDistribution theDistro)
public void setEmpiricalPValue(double[] theQualities)
public void renouncePValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |