public class RoughSetsCuttoff
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int[][] |
equivalence_sets |
protected Instances[] |
instancesByClass |
protected double[] |
precision |
Constructor and Description |
---|
RoughSetsCuttoff(Instances data,
int sig,
double cOff) |
RoughSetsCuttoff(Instances data,
int newInstsIndex,
int sig,
double cOff) |
Modifier and Type | Method and Description |
---|---|
int[] |
boundary_Class(int index_class)
Compute the boundary of the set (Cases in the upper aproximation and not
in the lower aproximation)
|
void |
boundary() |
void |
DivideInstancesByClass() |
void |
edit3RS()
all new instances are in upper approximation and they are in boundary to
because in this case the list have not lower approximation instances
|
void |
EquivalenceClasses()
Compute the equivalence classes
|
int[] |
EquivClasses_Instance(Instance obj)
Compute the equivalence classes to an instance.
|
int[][] |
get_equivalence_set() |
int[][] |
get_lower_aproximation() |
double |
get_precision(int index_class) |
int[][] |
get_upper_aproximation() |
Instances |
getBoundary(int classIndex) |
Instances |
getInstances_by_index(int[] Set)
Convert from a lisf of index to a list of Instances from m_Data
|
Instances[] |
getInstancesByClass() |
int |
getInstancesSizeByClass(int classValue) |
Instances |
getLower_aproximation(int classIndex) |
int |
getNewInstancesIndex() |
Instances |
getUpper_aproximation(int classIndex) |
void |
lower_approximation_set(int classIndex) |
void |
lower_approximation_set(int classValue,
int newsIndex) |
void |
lower_aproximation()
Compute the lower aproximations of the dataset
|
void |
setNewInstancesIndex(int newInstancesIndex) |
int[] |
upper_aproximation_Set(int class_index)
Compute the upper aproximation of a set
|
void |
upper_aproximation()
Compute the upper aproximation
|
protected int[][] equivalence_sets
protected double[] precision
protected Instances[] instancesByClass
public RoughSetsCuttoff(Instances data, int sig, double cOff)
public RoughSetsCuttoff(Instances data, int newInstsIndex, int sig, double cOff)
public int[][] get_upper_aproximation()
public int[][] get_lower_aproximation()
public int[][] get_equivalence_set()
public double get_precision(int index_class)
public Instances getInstances_by_index(int[] Set)
Set
- public void DivideInstancesByClass()
public void EquivalenceClasses() throws java.lang.Exception
java.lang.Exception
public int[] EquivClasses_Instance(Instance obj) throws java.lang.Exception
obj
- java.lang.Exception
java.lang.Exception
public void upper_aproximation()
public int[] upper_aproximation_Set(int class_index)
class_index
- public void boundary()
public int[] boundary_Class(int index_class)
public void lower_aproximation() throws java.lang.Exception
java.lang.Exception
public void lower_approximation_set(int classIndex) throws java.lang.Exception
java.lang.Exception
public void lower_approximation_set(int classValue, int newsIndex) throws java.lang.Exception
java.lang.Exception
public void edit3RS() throws java.lang.Exception
java.lang.Exception
public int getNewInstancesIndex()
public void setNewInstancesIndex(int newInstancesIndex)
public Instances getLower_aproximation(int classIndex)
public Instances getUpper_aproximation(int classIndex)
public Instances getBoundary(int classIndex)
public Instances[] getInstancesByClass()
public int getInstancesSizeByClass(int classValue)