[英]Java implementation of fminunc in octave
I am trying to find a java version of octave's fminunc
(function minimization unconstrained) library in Java. 我试图在Java中找到octave的fminunc
(函数fminunc
最小化)库的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. 当前,我正在使用梯度下降的自制版本来最小化成本,并且我希望能够使用一个已经存在的库(在Java中)为我做到这一点。 This is related to my effort of porting octave code that we have from the Coursera Machine Learning course to Java. 这与我将Coursera机器学习课程中的八度代码移植到Java的工作有关。
Ahh, here are a few things you can check for suitability: 啊,您可以检查以下几项内容的适用性:
http://dev.davidsoergel.com/trac/jlibsvm/ https://github.com/davejacobs/ml http://commons.apache.org/proper/commons-math/ http://liebke.github.io/incanter/optimize-api.html#incanter.optimize/non-linear-model http://dev.davidsoergel.com/trac/jlibsvm/ https://github.com/davejacobs/ml http://commons.apache.org/proper/commons-math/ http://liebke.github.io /incanter/optimize-api.html#incanter.optimize/non-linear-model
Here are a couple of threads on the same subject: https://groups.google.com/forum/#!topic/clojure/c7dxBWJn_X4 http://answers.yahoo.com/question/index?qid=20100227125757AA7faky 以下是同一主题的几个主题: https : //groups.google.com/forum/#!topic/ clojure / c7dxBWJn_X4 http://answers.yahoo.com/question/index?qid=20100227125757AA7faky
Thanks, Brill. 谢谢,布里尔 I ended up using QNMinimizer from Stanford NLP Library. 我最终使用了Stanford NLP库中的QNMinimizer。
If anyone found the previous two answers unsatisfactory, I have ported the Fmincg function to Java. 如果有人发现前两个答案不尽人意,则可以将Fmincg函数移植到Java。 The Fmincg function takes the same inputs as Fminunc, and it is has better performance for large datasets. Fmincg函数采用与Fminunc相同的输入,并且对于大型数据集具有更好的性能。 https://github.com/Dan12/MachineLearning/blob/master/src/main/java/com/mycompany/maventest/Fmincg.java https://github.com/Dan12/MachineLearning/blob/master/src/main/java/com/mycompany/maventest/Fmincg.java
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.