2

I am trying to find a java version of octave's fminunc (function minimization unconstrained) library in Java. The goal is to use it for logistic regression.

Currently, I am using a home-brewed version of gradiant descent for cost minimization and I would like to be able to use an already existing library to do that (in Java) for me. This is related to my effort of porting octave code that we have from the Coursera Machine Learning course to Java.

4

3 回答 3

1

谢谢,布里尔。我最终使用了斯坦福 NLP 图书馆的 QNMinimizer。

于 2014-01-14T02:03:38.567 回答
1

如果有人发现前两个答案不满意,我已将 Fmincg 函数移植到 Java。Fmincg 函数采用与 Fminunc 相同的输入,并且对于大型数据集具有更好的性能。https://github.com/Dan12/MachineLearning/blob/master/src/main/java/com/mycompany/maventest/Fmincg.java

于 2015-07-07T05:12:54.580 回答