Module datarush.analytics
Class AbstractNumericInfo<T extends Number & Comparable<? super T>>
java.lang.Object
com.pervasive.datarush.analytics.stats.AbstractNumericInfo<T>
- Direct Known Subclasses:
BigNumericInfo,NumericInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected Tprotected Tprotected Tprotected Tprotected Tprotected Tprotected Tprotected T -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the inter-quartile-range of this field.getMax()Return the maximum value for this field.getMean()Returns the mean value for this field.Returns the median of values for this field.getMin()Return the minimum value for this field.Class<?>Gets the generic type of this class.Returns the quantiles of this field.Return the standard deviation of values for this field.getSum()Return the summation of values for this field.Return the variance of values for this field.voidsetInterQuartileRange(T interQuartileRange) Sets the inter-quartile-range of this field.voidSets the maximum value for this field.voidSets the mean value for this field.voidSets the median of values for this field.voidSets the minimum value for this field.voidsetQuantiles(List<Quantile<T>> quantiles) Sets the quantiles of this field.voidSets the standard deviation of values for this field.voidSets the summation of values for this field.voidsetVariance(T variance) Sets the variance of values for this field.toString()
-
Field Details
-
ELEM_NUMERIC_INFO
- See Also:
-
ATTR_MIN
- See Also:
-
ATTR_MAX
- See Also:
-
ATTR_MEAN
- See Also:
-
ATTR_STANDARD_DEVIATION
- See Also:
-
ATTR_MEDIAN
- See Also:
-
ATTR_IQR
- See Also:
-
ATTR_VARIANCE
- See Also:
-
ATTR_SUM
- See Also:
-
quantiles
-
min
-
max
-
mean
-
stddev
-
variance
-
sum
-
median
-
interQuartileRange
-
-
Constructor Details
-
AbstractNumericInfo
public AbstractNumericInfo()
-
-
Method Details
-
getMin
Return the minimum value for this field. This corresponds to the "minimum" attribute.- Returns:
- the minimum value
-
setMin
Sets the minimum value for this field. This corresponds to the "minimum" attribute.- Parameters:
min- the minimum value
-
getMax
Return the maximum value for this field. This corresponds to the "maximum" attribute.- Returns:
- the maximum value
-
setMax
Sets the maximum value for this field. This corresponds to the "maximum" attribute.- Parameters:
max- the maximum value
-
getMean
Returns the mean value for this field. This corresponds to the "mean" attribute.- Returns:
- the mean value for this field
-
setMean
Sets the mean value for this field. This corresponds to the "mean" attribute.- Parameters:
mean- the mean value for this field
-
getStddev
Return the standard deviation of values for this field. This corresponds to the "standardDeviation" attribute.- Returns:
- the standard deviation of values for this field
-
setStddev
Sets the standard deviation of values for this field. This corresponds to the "standardDeviation" attribute.- Parameters:
stddev- the standard deviation of values for this field
-
getMedian
Returns the median of values for this field. This corresponds to the "median" attribute.- Returns:
- the median of values for this field
-
setMedian
Sets the median of values for this field. This corresponds to the "median" attribute.- Parameters:
median- the median of values for this field
-
getInterQuartileRange
Returns the inter-quartile-range of this field. This corresponds to the "interQuartileRange" attribute.- Returns:
- the inter-quartile-range for this field
-
setInterQuartileRange
Sets the inter-quartile-range of this field. This corresponds to the "interQuartileRange" attribute.- Parameters:
interQuartileRange- the inter-quartile-range for this field
-
getVariance
Return the variance of values for this field. This is a custom PMML extension.- Returns:
- the variance of values for this field
-
setVariance
Sets the variance of values for this field. This is a custom PMML extension.- Parameters:
variance- the variance of values for this field
-
getSum
Return the summation of values for this field. This is a custom PMML extension.- Returns:
- the summation of values for this field
-
setSum
Sets the summation of values for this field. This is a custom PMML extension.- Parameters:
sum- the summation of values for this field
-
getQuantiles
Returns the quantiles of this field. This returns the values of theQuantilesub-element.- Returns:
- the quantiles of this field
-
setQuantiles
Sets the quantiles of this field. This sets the values of theQuantilesub-element.- Parameters:
quantiles- the quantiles of this field
-
getNumericType
Gets the generic type of this class.- Returns:
- the type of this class
-
toString
-