我们需要用Java进行逻辑回归。我们在Python中使用了这段代码http://blog.smellthedata.com/2009/06/python-logistic-regression-with-l2.html并且基本上想要在Java中做同样的事情。我被定向到Weka,但许可证是非商业性的。我发现OmegahatAPI与Scipy一样具有BFGS最小化器,但我无法弄清楚API:http://www.omegahat.org/api/org/omegahat/Numerics/Optimizers/OptimizerAlgorithmBFGS.html我想用模型实现一个类并放入似