简体   繁体   中英

Alternative for deprecated apache commons CurveFitter class?

The org.apache.commons.math3.optimization.fitting.CurveFitter is deprecated .

It was a useful class. Why was it deprecated?

The docs don't say what we should use instead. What is the alternative class?

This package-level javadoc explains:

http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math3/optimization/package-summary.html

Basically, the entire org.apache.commons.math3.optimization.* tree is being reworked.

The direct replacement class for CurveFitter is org.apache.commons.math3.fitting.AbstractCurveFitter .

Why? You would need to trawl through the issue tracker and developer mailing lists to find that out.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM