Using Breeze from Java on Spark MLlib

自古美人都是妖i 提交于 2019-12-05 18:44:32

It's honestly very hard. Breeze makes very very heavy use of implicits, and they just don't translate well into Java. We have some Java friendly wrappers for signal processing, but nothing for linear algebra. (I'd happily take a pull request that provided some support for wrapping things.)

Have a look at https://spark.apache.org/docs/2.2.0/api/java/org/apache/spark/mllib/linalg/BLAS.html, which contains many of the BLAS linear algebra operations. These can be used by both Scala and Java.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!