Closed MarcusSchilling closed 2 years ago
It's a bug in sklearn_porter. Use another version of scikit_learn for now, 0.22.2.post1 is not compatible. Use 0.22.2 or 0.22. They all work fine.
See duplicate https://github.com/nok/sklearn-porter/issues/67.
Hello,
I tried to run Porter to transform my RandomForestClassifier to JavaScript. I ran into an unexpected "error invalid literal for int() with base 10: 'post1'". Then I thought, let's try the demo from the README of sklearn-porter. The result remained the same. Can anyone tell me if this is a mistake by sklearn-porter or where my real problem might lie?
Error Message
ValueError Traceback (most recent call last)