Search the Community
Showing results for tags 'probability'.
Found 1 result
Just trying to wrap my head around some (very) basic math here by converting it into AU3 syntax, on this page (http://www.paulgraham.com/naivebayes.html) there is a good example of how to add two, or more, probabilities together. Here's the short version: Now, any takes on how I would implement that simple math in autoit code? For now I've got: $prbs = 0.60 + 0.72 $dividers = ((0.60+0.72))+((1-0.60)+(1-0.72)) $result = $prbs / $dividers ConsoleWrite('$result: ' & $result & @CRLF) And the output is "0.66" which certainly isn't right so I'm doing something wrong, any takers/helpers on this problem?