NaturalRanking
public interface RankingAlgorithm
Modifier and Type | Method | Description |
---|---|---|
double[] |
rank(double[] data) |
Performs a rank transformation on the input data, returning an array
of ranks.
|
double[] rank(double[] data)
Ranks should be 1-based - that is, the smallest value returned in an array of ranks should be greater than or equal to one, rather than 0. Ranks should in general take integer values, though implementations may return averages or other floating point values to resolve ties in the input data.
data
- array of data to be rankedCopyright © 2016–2018 Hipparchus.org. All rights reserved.