| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
|
||
| def test_weighted_replicate(): | ||
| assert weighted_replicate('ABC', [1, 2, 1], 4) == ['A', 'B', 'B', 'C'] | ||
|
|
There was a problem hiding this comment.
I really appreciate your work. There is just a small mistake.
You are required to import rms_error(), manhattan_distance(), mean_boolean_error() and mean_error() from learning.
Sorry, something went wrong.
There was a problem hiding this comment.
Done!
Sorry, something went wrong.
|
Now there is a conflict in learning.py |
Sorry, something went wrong.
|
Actually I have already resolved the issue #295 in this pull request in addition to adding the tests. I referenced that commit in the issue too. |
Sorry, something went wrong.
|
I didn't know you resolved the issue #295 in your pull request. I independently resolved it. Sorry for any inconvenience caused. |
Sorry, something went wrong.
|
@TheSPARTA Could you break this PR into 2 parts, 1 which resolves the mistake in count() and one which adds test cases after resolving the conflicts. You can aslo uncomment the mean_boolean_error() test cases as the bug seems to be fixed |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Added tests for the error functions in learning.py as required by #286 .
@reachtarunhere, What kind of other tests can be added?