Module datarush.analytics
Class Quantile<T extends Number & Comparable<? super T>>
java.lang.Object
com.pervasive.datarush.analytics.stats.Quantile<T>
Corresponds to the PMML
Quantile element.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the percentage represented by this quantile.Returns the value of the quantile.
-
Constructor Details
-
Quantile
Create a new quantile- Parameters:
quantilePercentage- the percentage represented by this quantile. Must be between 0 (inclusive) and 100 (inclusive) This corresponds to the "quantileLimit" attribute.quantileValue- the value of the quantile. This corresponds to the "quantileValue" attribute.
-
-
Method Details
-
getQuantilePercentage
public double getQuantilePercentage()Returns the percentage represented by this quantile. Must be between 0 (inclusive) and 100 (inclusive) This corresponds to the "quantileLimit" attribute.- Returns:
- the percentage represented by this quantile
-
getQuantileValue
Returns the value of the quantile. This corresponds to the "quantileValue" attribute.- Returns:
- the value of the quantile
-