Skip to content

Commit

Permalink
Updated tests to check the new pivot value
Browse files Browse the repository at this point in the history
  • Loading branch information
ONordander committed Apr 28, 2017
1 parent d05c224 commit 5d3f38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion id3/tests/test_id3.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_info_numerical():
record = test_splitter._info_numerical(x_numerical_col, y)
assert_equal(record.split_type, 0)
assert_equal(record.attribute_counts.size, 2)
assert_almost_equal(record.pivot, 2)
assert_almost_equal(record.pivot, 3)
assert_almost_equal(record.info, 0.95, 2)


Expand Down

0 comments on commit 5d3f38b

Please sign in to comment.