Closed jimfulton closed 3 years ago
The tests are failing because the shapes of the predictions from treeinterpeter and scikit-learn are different.
Did this change in one or the other?
I notice that in the test test_forest_regressor
with ForestRegressor == RandomForestRegressor
, the shape of pred
(the result of calling treeinterpreter.predict
) is (253, 1)
while the shape of bias
is (253,)
. This is surely wrong?
How should tests be run?
I get 3 test failures using
python setup.py test
orpytest
using Python 3.6.