与 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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 22:04:10  来源:igfitidea点击:

What is the best math library to use with java?

javamath

提问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 Phil

Your question is a little vague but check out Weka.

您的问题有点含糊,但请查看Weka

回答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

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

JScience当然值得一看。在这里这里这里可以看到一些涉及有理算术和单位转换的例子。

回答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 的MahoutWEKA。两者都是用于数据分析的优秀 Java 库。

Both are more appropriate answers for the narrower concern of data mining.

对于数据挖掘的狭义问题,两者都是更合适的答案。