title: Logistic Regression in Java
body: <p>We need to do a logistic regression in Java.  We used this code in Python <a href="http://blog.smellthedata.com/2009/06/python-logistic-regression-with-l2.html">http://blog.smellthedata.com/2009/06/python-logistic-regression-with-l2.html</a> and basically want the same thing in Java.  I was directed to Weka, but the license is non-commercial.</p>
  
  <p>I found the Omegahat API has the BFGS minimizer like Scipy, but I can't figure out the API: <a href="http://www.omegahat.org/api/org/omegahat/Numerics/Optimizers/OptimizerAlgorithmBFGS.html">http://www.omegahat.org/api/org/omegahat/Numerics/Optimizers/OptimizerAlgorithmBFGS.html</a>  I want to implement a class with the model and put in the likelihood functions.  But the model.eval takes a ModelPointNumeric which also has an eval.  In any case, it is not clearly correlated with the math as the python code using numpy is.  Is the omegahat api used or maintained?  I could not find a mailing list for it.</p>