double[] theta1 = new double[] { 10.010000000474975, 10.050000002374873, 10.01600000075996,
10.018000000854954, 10.024000001139939, 10.038000001804903, 10.036000001709908 };
double[] theta2 = new double[] { 13.000000142492354, 25.00000071246177, 14.800000227987766,
15.400000256486237, 17.20000034198165, 21.400000541470945, 20.800000512972474 };
DenseDoubleVector theta1Vector = new DenseDoubleVector(theta1);
DenseDoubleVector theta2Vector = new DenseDoubleVector(theta2);
DenseDoubleVector x = new DenseDoubleVector(new double[] { 1, 10, 3, 2, 1, 6, 1 });
BigDecimal res1 = logisticRegressionModel.applyHypothesis(theta1Vector, x);
BigDecimal res2 = logisticRegressionModel.applyHypothesis(theta2Vector, x);
assertFalse(res1 + " shouldn't be the same as " + res2, res1.equals(res2));