I want to use math functions for data mining and analytics purpose. I need an opinion about a library that I can use for this purpose with java. Do you have any recommendations?
问题:
回答1:
There is colt.
The Colt library provides fundamental general-purpose data structures optimized for numerical data, such as resizable arrays, dense and sparse matrices (multi-dimensional arrays), linear algebra, associative containers and buffer management.
The Jet library contains mathematical and statistical tools for data analysis, powerful histogramming functionality, Random Number Generators and Distributions useful for (event) simulations, and more.
The CoreJava library contains C-like print formatting. The Concurrent library contains standardized, efficient utility classes commonly encountered in parallel & concurrent programming.
回答2:
Apache Commons Math might be helpful. So might JAMA.
UPDATE: In the 2.5 years since I last answered this, I've become aware of Apache's Mahout and WEKA. Both are excellent Java libraries for data analysis.
Both are more appropriate answers for the narrower concern of data mining.
回答3:
JScience is certainly worth a look. Some examples involving rational arithmetic and unit conversion are seen here, here and here.
回答4:
java.lang.Math
has got a lot of useful math functions.
回答5:
Your question is a little vague but check out Weka.