17

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?

Vaibhav Kamble
  • 3,579
  • 5
  • 23
  • 16
  • 3
    I would rephrase this as it is asking for opinions and therefore is open ended, argumentative. – Ralph M. Rickenbach Jul 23 '10 at 12:32
  • 1
    Yes it is true. This is an open ended question. Depending on my requirements I have decided to go for Apache Commons Math as they have almost all the functions that I would be using. Their other pluses are good documentation, great support from community plus its a project supported by Apache Foundation and when My 70% of libraries are from Apache , I am little biased towards them. In Colt arena,I found multithreaded version of it , Parallel Colt quite interesting. I am just crossing my fingers now. I might do some performance analysis before I go further. – Vaibhav Kamble Jul 27 '10 at 13:27

5 Answers5

10

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.

Community
  • 1
  • 1
miku
  • 181,842
  • 47
  • 306
  • 310
5

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.

duffymo
  • 305,152
  • 44
  • 369
  • 561
3

JScience is certainly worth a look. Some examples involving rational arithmetic and unit conversion are seen here, here and here.

trashgod
  • 203,806
  • 29
  • 246
  • 1,045
1

java.lang.Math

has got a lot of useful math functions.

oopbase
  • 11,157
  • 12
  • 40
  • 59
1

Your question is a little vague but check out Weka.

Phil
  • 5,595
  • 5
  • 35
  • 55