From f9bed23b26a62d61c02b6251ddd57d1caedb21de Mon Sep 17 00:00:00 2001 From: Divyanshi <126316406+DivyanshiSingh00@users.noreply.github.com> Date: Wed, 19 Jun 2024 15:26:37 +0530 Subject: [PATCH] Update Naive_Bayes_Classifiers.md --- contrib/machine-learning/Naive_Bayes_Classifiers.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/contrib/machine-learning/Naive_Bayes_Classifiers.md b/contrib/machine-learning/Naive_Bayes_Classifiers.md index d986ade..2e75402 100644 --- a/contrib/machine-learning/Naive_Bayes_Classifiers.md +++ b/contrib/machine-learning/Naive_Bayes_Classifiers.md @@ -32,6 +32,16 @@ Consider a simple example where we want to classify emails as "spam" or "not spa #### Training Data +| Email | Keyword1 | Keyword2 | Spam | +|--------|-------------|-------------|---------| +| 1 | Yes | No | Yes | +| 2 | Yes | Yes | Yes | +| 3 | No | Yes | No | +| 4 | Yes | No | No | + + + + ![img_1.png](img_1.png) ##### Calculating Priors: