Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
data_mining:naive_bayes [2015/08/04 14:51] – [Beispiel] phreazer | data_mining:naive_bayes [2015/08/04 15:02] (current) – [Bayes rule] phreazer | ||
---|---|---|---|
Line 16: | Line 16: | ||
====== Bayes rule ====== | ====== Bayes rule ====== | ||
- | Datensatz: | + | **Datensatz:** |
^ R ^ B | | ^ R ^ B | | ||
Line 23: | Line 23: | ||
| y | n | | | y | n | | ||
- | n: Einträge | + | * n: Einträge |
- | R=y für r Fälle | + | |
- | B=y für k Fälle | + | |
- | R=y und B=y für i Fälle | + | |
- | p(B|R) = i/r | + | * $p(B|R) = i/r$ |
- | p(R) = r/n | + | * $p(R) = r/n$ |
- | p(R und B) = i/n = (i/r) * (r/n) | + | * $p(R und B) = i/n = (i/r) * (r/n)$ |
- | p(B,R) = p(B|R) p(R) | + | * $p(B,R) = p(B|R) p(R)$ |
Bayes Rule: | Bayes Rule: |