scikit-learn-contrib / py-earth

A Python implementation of Jerome Friedman's Multivariate Adaptive Regression Splines
http://contrib.scikit-learn.org/py-earth/
BSD 3-Clause "New" or "Revised" License
455 stars 122 forks source link

Model copy issue on windows #106

Closed mehdidc closed 8 years ago

mehdidc commented 8 years ago

After setting up appveyor, it seems we have the following issues on Windows:

======================================================================
FAIL: pyearth.test.test_earth.test_pickle_compatibility
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Miniconda\lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "C:\projects\py-earth\pyearth\test\test_earth.py", line 287, in test_pickle_compatibility
    numpy.all(model.predict(X) == model_copy.predict(X)))
AssertionError: False is not true

======================================================================
FAIL: pyearth.test.test_earth.test_copy_compatibility
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Miniconda\lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "C:\projects\py-earth\pyearth\test\test_earth.py", line 297, in test_copy_compatibility
    numpy.all(model.predict(X) == model_copy.predict(X)))
AssertionError: False is not true
mehdidc commented 8 years ago

Closing for now as it does not seem to happen in the master branch : https://ci.appveyor.com/project/mehdidc/py-earth/build/1.0.28/job/ot89kyelt6efkl7x