Beispiel #1
0
 public void TestPrependingOnes()
 {
     double[][] input  = new double[1][] { new double[] { 2, 2 } };
     double[][] output = LogisticRegression.PrependWithOnes(input);
     DisplayArray(output[0]);
     Assert.IsTrue(output[0][0] == 1);
 }