christophM / rulefit

Python implementation of the rulefit algorithm
MIT License
411 stars 112 forks source link

changed set to Orderset to fix reproducibility issue, added Order-set… #47

Closed AdityaN1198 closed 1 year ago

AdityaN1198 commented 2 years ago

Replaced 'set' with 'OrderedSet' to fix reproducibility issue. Set in unordered and therefore causes reproducibility issues when the script is ran multiple times. Replacing it with OrderSet (pip install ordered-set) solves this issue.

Added 'ordered-set>=4.1.0' in setup.py

Ioannis-Pikoulis commented 1 year ago

This breaks compatibility with Python 3.6. 'ordered-set>=4.1.0' requires Python >= 3.7.