konstantint / SKompiler

A tool for compiling trained SKLearn models into other representations (such as SQL, Sympy or Excel formulas)
MIT License
171 stars 10 forks source link

RandomForest classifier from sklearn==0.22.1 gives AttributeError #17

Open priesgo opened 9 months ago

priesgo commented 9 months ago

The error message was AttributeError: 'RandomForestClassifier' object has no attribute 'n_features_in_'

Is there any range of sklearn versions which are explicitly supported?

konstantint commented 9 months ago

The statement in setup.py install_requires=["scikit-learn >= 0.22"],, implies than an "explicitly supported version (i.e. last for which everything was known to be working) was 0.22.