问题
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