Package | Description |
---|---|
weka.classifiers.trees | |
weka.classifiers.trees.j48Consolidated |
Modifier and Type | Method and Description |
---|---|
private weka.core.Instances[] |
J48Consolidated.generateFreeDistrSamples(InstancesConsolidated instances,
int dataSize,
int bagSize,
java.util.Random random)
Generate a set of samples without taking the class distribution into account
(like in the meta-classifier Bagging)
|
private weka.core.Instances[] |
J48Consolidated.generateSamplesChangingMinClassDistr(InstancesConsolidated instances,
int dataSize,
int bagSize,
java.util.Random random)
Generate a set of samples changing the distribution of the minority class
|
private weka.core.Instances[] |
J48Consolidated.generateStratifiedSamples(InstancesConsolidated instances,
int dataSize,
int bagSize,
java.util.Random random)
Generate a set of stratified samples
|
Modifier and Type | Method and Description |
---|---|
InstancesConsolidated[] |
InstancesConsolidated.getClasses()
Gets the vector of classes of the dataset like a set of samples
|
Modifier and Type | Method and Description |
---|---|
void |
InstancesConsolidated.add(InstancesConsolidated instances)
Adds a set of instances to the end of the set.
|
int[] |
InstancesConsolidated.getClassesSize(InstancesConsolidated[] classesVector)
Gets the vector with the size of each class of the dataset
|