8 ms·
What I can't get is the need to translate the Java code to Python. Ideas, anyone?
by DallaRosa 15y ago
What I can't get is the need to translate the Java code to Python. Ideas, anyone?
- prodigal_erik 15y agoPython does has a nice clean grammar if you have to generate code, but yeah, if they already had a Weka model it's not clear why they aren't just evaluating that in a JVM. The only exotic thing they're doing is calling a Python module that can read Win32 portable executable files, though there appear to be similar Java libraries. Maybe they want end users to install and run something, so they avoided requiring the huge download footprint of a modern JRE?
- emilv 15y agoMaybe they even shipped this to users automatically through an already existing (Python-supporting) system?