Probability

Mobile App for Lottery Addiction

Many people start playing the lottery for fun, but for some this activity turns into a habit which eventually escalates into addiction. Like other compulsive gamblers, lottery addicts soon begin spending from their savings and loans, they start to accumulate debts, and eventually engage in desperate behaviors like theft. In this project, we are going to contribute to the development of a mobile app by writing a couple of functions that are mostly focused on calculating probabilities.

Building a Spam Filter with Naive Bayes

In this project, we’re going to build a spam filter for SMS messages using the multinomial Naive Bayes algorithm. Our goal is to write a program that classifies new messages with an accuracy greater than 80% — so we expect that more than 80% of the new messages will be classified correctly as spam or ham (non-spam). To train the algorithm, we’ll use a dataset of 5,572 SMS messages that are already classified by humans.