|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.performance.RankStatistics
public class RankStatistics
Provides methods to compute ranks for a single attribute and rank correlations for two attributes. When computing rank correlations, examples containing missing values for either attribute are skipped. When computing ranks, missing values are given missing ranks. All methods include an option to specify an imprecision tolerance when comparing values.
| Constructor Summary | |
|---|---|
RankStatistics()
|
|
| Method Summary | |
|---|---|
static double[] |
rank(ExampleSet eSet,
Attribute att,
Attribute mappingAtt)
Calculates ranks for an attribute. |
static double[] |
rank(ExampleSet eSet,
Attribute att,
Attribute mappingAtt,
double fuzz)
Calculates ranks for an attribute. |
static double |
rho(ExampleSet eSet,
Attribute a,
Attribute b)
Calculates the Spearman rank correlation between two attributes. |
static double |
rho(ExampleSet eSet,
Attribute a,
Attribute b,
double f)
Calculates the Spearman rank correlation between two attributes. |
static double |
tau_b(ExampleSet eSet,
Attribute a,
Attribute b)
Computes Kendall's tau-b rank correlation statistic, ignoring examples containing missing values. |
static double |
tau_b(ExampleSet eSet,
Attribute a,
Attribute b,
double fuzz)
Computes Kendall's tau-b rank correlation statistic, ignoring examples containing missing values, with approximate comparisons. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RankStatistics()
| Method Detail |
|---|
public static double rho(ExampleSet eSet,
Attribute a,
Attribute b,
double f)
throws OperatorException
eSet - the example seta - the first attribute to correlateb - the second attribute to correlatef - a fuzz factor (allowance for imprecision) when ranking
OperatorException
public static double rho(ExampleSet eSet,
Attribute a,
Attribute b)
throws OperatorException
eSet - the example seta - the first attribute to correlateb - the second attribute to correlate
OperatorException
public static double[] rank(ExampleSet eSet,
Attribute att,
Attribute mappingAtt,
double fuzz)
eSet - the example setatt - the attribute to rankfuzz - values within +/- fuzz may be considered tied
public static double[] rank(ExampleSet eSet,
Attribute att,
Attribute mappingAtt)
eSet - the example setatt - the attribute to rankmappingAtt - the attribute which might be used for remapping the values
public static double tau_b(ExampleSet eSet,
Attribute a,
Attribute b)
throws OperatorException
eSet - the example seta - the first attribute to correlateb - the second attribute to correlate
OperatorException
public static double tau_b(ExampleSet eSet,
Attribute a,
Attribute b,
double fuzz)
throws OperatorException
eSet - the example seta - the first attribute to correlateb - the second attribute to correlatefuzz - values within +/- fuzz may be considered tied
OperatorException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||