eloquentarduino / micromlgen

Generate C code for microcontrollers from Python's sklearn classifiers
MIT License
187 stars 35 forks source link

SVC generted code issue #16

Open medamarko opened 2 years ago

medamarko commented 2 years ago

Im having trouble to get code generated based on SVC to work.

attahced example work nice in python but not on mcu.. on mcu it always give 0.

Attached files are jupyter notebook as well as data source. Cupcakes vs Muffins.xls testofcodegenerator.zip

Shirsaa commented 7 months ago

hi, i am also using micromlgen to convert my RF regression into C++ code. but the generated code gives different and wrong results as compared to the python code i had written. it is giving a single output for every input given to it which in fact is wrong.

Can someone tell me what went wrong?