def METHOD_NAME(self):
    model = LogisticRegression.train(xs, ys)
    q, p = LogisticRegression.calculate(model, [6, -173.143442352])
    self.assertAlmostEqual(p, 0.993242, places=6)
    self.assertAlmostEqual(q, 0.006758, places=6)
    q, p = LogisticRegression.calculate(model, [309, -271.005880394])
    self.assertAlmostEqual(p, 0.000321, places=6)
    self.assertAlmostEqual(q, 0.999679, places=6)