nlp naive bayes

5
Daphne Koller Bayesian Networks Naïve Bayes Probabilistic Graphical Models Representation

Upload: david-hoen

Post on 21-Jan-2017

41 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Nlp naive bayes

Daphne Koller

Bayesian Networks

Naïve Bayes

ProbabilisticGraphicalModels

Representation

Page 2: Nlp naive bayes

Daphne Koller

Naïve Bayes Model

Class

X1 X2 Xn. . .(Xi Xj | C) for all Xi, Xj

Page 3: Nlp naive bayes

Daphne Koller

Naïve Bayes Classifier

Class

X1 X2 Xn. . .

Page 4: Nlp naive bayes

Daphne Koller

Naïve Bayes Classifier for Text I

cat dog buy. . .Document Label P(“buy” appears | Label)

Page 5: Nlp naive bayes

Daphne Koller

Naïve Bayes Classifier for Text II

W1 W2 Wn. . .Document Label Financial

cat dog buy sell …Pets

0.001 0.001 0.02 0.02 …0.02 0.03 0.003 0.001 …