Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gianlucadetommaso committed Oct 19, 2023
1 parent 114cc9a commit 6e718d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/fortuna/test_kernel_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ def test_nadaraya_watson(self):
preds = kr.predict(inputs=np.array(eval_x))
assert preds.shape == (4,)

with self.assertRaises(ValueError):
kr.predict(inputs=eval_x, bandwidth=-1)
with self.assertRaises(ValueError):
NadarayaWatsonKernelRegressor(
train_inputs=train_x, train_targets=train_y[None]
Expand Down

0 comments on commit 6e718d6

Please sign in to comment.