| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Most of the tests were already added in #293. Line 60 throws "AttributeError: 'module' object has no attribute 'approx'" when running py.test |
Sorry, something went wrong.
| predictions = [1, 1, 2, 1] | ||
| targets = [1, 2, 1, 1] | ||
|
|
||
| assert rms_error(predictions, targets) == pytest.approx(sqrt(0.5)) |
There was a problem hiding this comment.
pytest will have to be removed.
Sorry, something went wrong.
|
@Chipe1 Thanks for pointing out about the other MR request. I have also realized that I am using a newer version of py.test than the one in the build. But since there is another MR covering the same tests as these ones, I will close it for now. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add tests for the following functions in learning.py