문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top