Uploaded August 2016 | Updated November 2026, 19 hours ago
In this video, I show how to use Bayes classifiers to determine if a piece of text is "positive" or "negative". In other words, I show you how to make a program with feelings!
The kind of classifier I show is called a Bernoulli naive Bayes classifier:
en.wikipedia.org/wiki/Naive_Bayes_classifier#Bernoulli_naive_Bayes
The demo at the beginning of the video can be found at:
macheads101.com/demos/sentiment
The source for the demo, as well as for my program to graph the mood over books, can be found here:
github.com/unixpickle/sentigraph
In this video, I show how to use Bayes classifiers to determine if a piece of text is "positive" or "negative". In other words, I show you how to make a program with feelings!
The kind of classifier I show is called a Bernoulli naive Bayes classifier:
en.wikipedia.org/wiki/Naive_Bayes_classifier#Bernoulli_naive_Bayes
The demo at the beginning of the video can be found at:
macheads101.com/demos/sentiment
The source for the demo, as well as for my program to graph the mood over books, can be found here:
github.com/unixpickle/sentigraph









![Objective-C iPhone Programming Lesson 21 - Opening a URL In Safari
I show you how to use UIApplication to open a web page in MobileSafari. Code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@http://www.google.com/]]; Objective-C iPhone Programming Lesson 21 - Opening a URL In Safari](https://i.ytimg.com/vi/jJFrKn6G3Ls/mqdefault.jpg)
