2022-07-13 11:44 AM
When trying to run MLC.ibynb in the MLC repo (STMems_Machine_Learning_Core/MLC.ipynb at master · STMicroelectronics/STMems_Machine_Learning_Core (github.com)), there is error thrown from the with call stack:
generateDecisionTree > printTree > formatTree > genNextLineIndex
if (getNodeNum(line) == int(num))
ValueError: invalid literal for int() with base 10: ''
Clearly the line being passed in is empty. Does this result from there being empty lines in the ARFF files generated by the Unico API? Any help is appreciated.
Solved! Go to Solution.
2022-08-05 10:21 AM
Fixed with PR#12
2022-07-25 02:42 AM
Hi @DHou.1 ,
Are you using the MLC.ipynb you can find in the repository or did you make some modification to that code?.
It the latter case, you might send the script code to me and I'll share it with our experts.
-Eleon
2022-08-05 10:21 AM
Fixed with PR#12