Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 796 Bytes

generative-model.md

File metadata and controls

20 lines (16 loc) · 796 Bytes
title sidebar_label
Generative or Naive Bayes model
Naive Bayes

Generative (Naive Bayes) model for classification is based on Bays' theorem. Here we fit a suitable probability distribution $P_i(x)$ to each class of data. Then we make decision for a new point for which the probability is maximum $\pi_i P_i(x)$, where $\pi_i$ is the relative frequency of ith class in the training dataset.

For the probability distribution Gaussian distribution is usual choice, but we can choose other distributions suitable to our problem.

Notebooks

Resources