Update Naive_Bayes_Classifiers.md

pull/1210/head
Divyanshi 2024-06-19 15:20:27 +05:30 zatwierdzone przez GitHub
rodzic 52fb4eea55
commit 8a90b2d7db
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -126,10 +126,11 @@ Used for binary/boolean features, where features represent binary occurrences (e
* Formula: The likelihood of the features given the class is computed using the Bernoulli distribution formula:
$$
P(x_i | C) = {P^{x_i}}_{i,C} (1 - P_{i, C})^{(1 - x_i)}
P(x_i | C) = {P_{i,C}^{x_i}} (1 - P_{i, C})^{(1 - x_i)}
$$
where P(𝑖,𝐶) is the probability of feature 𝑥𝑖 being 1 in class C.
## Advantages of Naive Bayes Classifier
* Easy to implement and computationally efficient.
* Effective in cases with a large number of features.