I've translated W-DMNBtext's algorithm into Lua, tested it on a small data set (10 examples, 5 binary attributes), and compared the results to RapidMiner under conditions where the output should theoretically be the same. I'm seeing discrepancies as large as .008. I suspect this may be because of discrepancies between the two versions of the natural logarithm function. (It could also be Lua's math.log, which wraps cmath's log. I haven't been able to find any mention of math accuracy in the C standard, so maybe it's implementation-defined.) Is there a way to change whether or not RapidMiner uses strictfp?