|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.learner.tree.FrequencyCalculator
public class FrequencyCalculator
Calculates frequencies and weights.
| Constructor Summary | |
|---|---|
FrequencyCalculator()
|
|
| Method Summary | |
|---|---|
double[] |
getLabelWeights(ExampleSet exampleSet)
Returns an array of size of the number of different label values. |
double[][] |
getNominalWeightCounts(ExampleSet exampleSet,
Attribute attribute)
|
double[][] |
getNumericalWeightCounts(ExampleSet exampleSet,
Attribute attribute,
double splitValue)
|
double[] |
getPartitionWeights(SplittedExampleSet splitted)
Returns an array of the size of the partitions. |
double |
getTotalWeight(double[] weights)
Returns the sum of the given weights. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FrequencyCalculator()
| Method Detail |
|---|
public double[][] getNumericalWeightCounts(ExampleSet exampleSet,
Attribute attribute,
double splitValue)
public double[][] getNominalWeightCounts(ExampleSet exampleSet,
Attribute attribute)
public double[] getPartitionWeights(SplittedExampleSet splitted)
public double[] getLabelWeights(ExampleSet exampleSet)
public double getTotalWeight(double[] weights)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||