Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1.18 KB

README.md

File metadata and controls

34 lines (18 loc) · 1.18 KB

Generative Learning algorithms


lecture notes

The generative model is the model that first try to learn what each object might look like. Then, based on input, it gives a probability of the input being this class.

Gaussian discriminant analysis


In this model, we’ll assume that p(x|y) is distributed according to a multivariate normal distribution. Let’s talk briefly about the properties of multivariate normal distributions before moving on to the GDA model itself.

Naive Bayes


image

Using Bayes theorem, we can find the probability of A happening, given that B has occurred. Here, B is the evidence and A is the hypothesis. The assumption made here is that the predictors/features are independent. That is presence of one particular feature does not affect the other. Hence it is called naive.source blog

Setup

pip install -r requirements.txt

usage


refer to usage notebook