Weka decimal precision

匆匆过客 提交于 2019-12-11 05:57:52

问题


After getting very excited by what seemed like excellent results from using the MLP within the Weka GUI on my pricing data, I've coded up a bit of Java that uses an MLP with the same parameters. Here is where the fun starts, the results are completely different, I've now found that this appears to be be due to rounding differences. The GUI rounds to 3 dp, my java code rounds to 5 dp.

I've looked through the manuals but I can't seem to find an option to force the GUI to use 5dp precision on the predicitions it outputs. Does anyone know how I can do this ?

Thanks


回答1:


The Pentaho WEKA Forum says that the number of decimal places in the GUI is fixed. However, in writing the output from the GUI to a file, you can control the number of decimal places.



来源:https://stackoverflow.com/questions/40729959/weka-decimal-precision

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!