nok / sklearn-porter

Transpile trained scikit-learn estimators to C, Java, JavaScript and others.
BSD 3-Clause "New" or "Revised" License
1.28k stars 170 forks source link

Fix the argument name in generated method name #49

Closed pdawczak closed 5 years ago

pdawczak commented 5 years ago

At the moment, the generated method's argument is called atts, while in the body of the method it references to as features. This is mirroring change to the working version of a Ruby's "Separated" Classifier