public class StatUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StatUtils.Histogram |
Constructor and Description |
---|
StatUtils() |
Modifier and Type | Method and Description |
---|---|
static float |
correlation(float[] values1,
float[] values2)
Calculates and returns Pearson correlation coefficient for the given arrays.
|
static float[][] |
correlationMatrix(float[][] values) |
static DescriptiveStatistics |
descriptiveStatistics(float[] values) |
static StatUtils.Histogram |
histogram(float[] values,
int numBins) |
static StatUtils.Histogram |
histogram(float[] values,
int numBins,
float min,
float max) |
static float |
max(float[] values) |
static float |
mean(float[] values) |
static float |
min(float[] values) |
static int |
missingValuesCount(float[] values) |
static int[] |
missingValuesCount(float[][] values) |
static int[] |
missingValuesCount(TabularDataSet<TabularDataSet.Item> dataSet) |
static Range |
range(float[] values) |
static float |
standardDeviation(float[] values,
float mean) |
static float |
variance(float[] values,
float mean) |
public static StatUtils.Histogram histogram(float[] values, int numBins)
public static StatUtils.Histogram histogram(float[] values, int numBins, float min, float max)
public static DescriptiveStatistics descriptiveStatistics(float[] values)
public static float max(float[] values)
public static float min(float[] values)
public static Range range(float[] values)
public static float mean(float[] values)
public static float standardDeviation(float[] values, float mean)
public static float variance(float[] values, float mean)
public static float correlation(float[] values1, float[] values2)
values1
- values2
- public static float[][] correlationMatrix(float[][] values)
public static int missingValuesCount(float[] values)
public static int[] missingValuesCount(float[][] values)
public static int[] missingValuesCount(TabularDataSet<TabularDataSet.Item> dataSet)
Copyright © 2022. All rights reserved.