def test_predict(self):
    actual = self.model.predict(self.true['params'], probabilities='smoothed')
    assert_allclose(actual, self.true['predict_smoothed'], atol=1e-06)
    actual = self.model.predict(self.true['params'], probabilities=None)
    assert_allclose(actual, self.true['predict_smoothed'], atol=1e-06)
    actual = self.result.predict(probabilities='smoothed')
    assert_allclose(actual, self.true['predict_smoothed'], atol=1e-06)
    actual = self.result.predict(probabilities=None)
    assert_allclose(actual, self.true['predict_smoothed'], atol=1e-06)
def test_predict(self):
    actual = self.model.predict(self.true['params'], probabilities='smoothed')
    assert_allclose(actual, self.true['predict_smoothed'], atol=1e-06)
    actual = self.model.predict(self.true['params'], probabilities=None)
    assert_allclose(actual, self.true['predict_smoothed'], atol=1e-06)
    actual = self.result.predict(probabilities='smoothed')
    assert_allclose(actual, self.true['predict_smoothed'], atol=1e-06)
    actual = self.result.predict(probabilities=None)
    assert_allclose(actual, self.true['predict_smoothed'], atol=1e-06)