Class DescriptiveStats
java.lang.Object
org.tribuo.evaluation.DescriptiveStats
Descriptive statistics calculated across a list of doubles.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
getMax()
Calculates the max of the values.double
getMean()
Calculates the mean of the values.double
getMin()
Calculates the min of the values.long
getN()
Returns the number of values.double
Calculates the standard deviation of the values.double
Calculates the sample variance of the values.int
hashCode()
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
-