与 java 一起使用的最佳数学库是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3318119/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the best math library to use with java?
提问by Vaibhav Kamble
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?
我想将数学函数用于数据挖掘和分析目的。我需要一个关于我可以使用 java 用于此目的的库的意见。你有什么建议?
回答by oopbase
java.lang.Math
数学语言
has got a lot of useful math functions.
有很多有用的数学函数。
回答by miku
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.
Colt 库提供了针对数值数据优化的基本通用数据结构,例如可调整大小的数组、密集和稀疏矩阵(多维数组)、线性代数、关联容器和缓冲区管理。
Jet 库包含用于数据分析的数学和统计工具、强大的直方图功能、对(事件)模拟有用的随机数生成器和分布等。
CoreJava 库包含类似 C 的打印格式。Concurrent 库包含在并行和并发编程中常见的标准化、高效的实用程序类。
回答by trashgod
回答by duffymo
Apache Commons Math might be helpful. So might JAMA.
Apache Commons Math 可能会有所帮助。JAMA 也可能如此。
UPDATE: In the 2.5 years since I last answered this, I've become aware of Apache's Mahoutand WEKA. Both are excellent Java libraries for data analysis.
更新:在我上次回答这个问题的 2.5 年里,我已经意识到 Apache 的Mahout和WEKA。两者都是用于数据分析的优秀 Java 库。
Both are more appropriate answers for the narrower concern of data mining.
对于数据挖掘的狭义问题,两者都是更合适的答案。