用 Java 计算协方差矩阵
我想使用Java计算协方差矩阵。
Java中有没有免费的库来计算协方差矩阵?
I want to calculate covariance matrix using Java.
Is there any free library to compute covariance Matrix in Java?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是一个简短的示例,说明如何使用 Apache Commons Math (3.5) 创建它:
Here is a short example, how you can create it with Apache Commons Math (3.5):
Apache Commons Math 库可以做到这一点。
The Apache Commons Math library can do this.
或者,您也可以使用高效 Java 矩阵库来计算它:https://gist.github.com/nok/73d07cc644a390fad9e9
Alternatively you can use the Efficient Java Matrix Library to calculate it too: https://gist.github.com/nok/73d07cc644a390fad9e9