@@ -0,0 +1,408 @@
+package com.thomasnyberg.mindset;%0A%0Aimport java.util.Random;%0A%0Apublic class LogisticRegression %7B%0A  public double%5B%5D%5B%5D data;%0A  public double%5B%5D coefficients;%0A%0A  public double%5B%5D getCoefficients() %7B%0A    return coefficients;%0A  %7D%0A%0A  public void fit() %7B%0A    /* Implement later */%0A    coefficients = new double%5B%5D%7B1.0, 2.0, 3.0%7D;%0A  %7D%0A%0A  public int predict(Integer%5B%5D data) %7B%0A    return new Random().nextInt(2) + 1;%0A  %7D%0A%7D%0A

Add mock LogisticRegression class