Fit data to a power distribution (java)
-
25-06-2021 - |
Frage
Much like in Excel where we can take a distribution and make a trendline for it (power law), how can I calculate that in Java for an array of numbers?
Lösung
The package org.apache.commons.math.optimization.fitting
includes CurveFitter
and PolynomialFitter
that will cover many of the typical excel trend line options. JFreechart
includes some support for Regression
.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow