Class DescriptiveStats
java.lang.Object
org.tribuo.evaluation.DescriptiveStats
Descriptive statistics calculated across a list of doubles.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoublegetMax()Calculates the max of the values.doublegetMean()Calculates the mean of the values.doublegetMin()Calculates the min of the values.longgetN()Returns the number of values.doubleCalculates the standard deviation of the values.doubleCalculates the sample variance of the values.inthashCode()toString()values()Returns a copy of the values.
-
Constructor Details
-
DescriptiveStats
public DescriptiveStats() -
DescriptiveStats
-
-
Method Details
-
getMean
-
getVariance
Calculates the sample variance of the values.- Returns:
- The sample variance.
-
getStandardDeviation
Calculates the standard deviation of the values.- Returns:
- The standard deviation.
-
getMax
-
getMin
-
getN
-
values
-
equals
-
hashCode
-
toString
-