uncommons-maths
uncommons-maths copied to clipboard
DataSet() initialization of maximum variable
When initializing the DataSet class the maximum variable is set to Double.MIN_VALUE. This leads to issues when all values in the dataset are negative.
Recommendations 1.) maximum = -Double.MAX_VALUE 2.) maximum = Double.NEGATIVE_INFINITY
Apache initializes as NAN which can lead to other issues