Notice: 
**This is only a toy example to help you get familiar with Kaggle+Colab. There is no Deep Learning concepts, and you should make sure you can pass it before tackling the real assignments.**

## Does s/he like me?

When you have a crush on someone, do you want to know how s/he feels? In this example, we will use **Bayes Theorem** to help 100,000 people who have this concern.

One of them, Bob, tells you that he has a crush on Alice. Even though Alice often smiles when she meets Bob, he still does not know whether Alice likes him back. He asks you whether he should propose to her when she smiles at him.

You happen to have a magical machine designed by Haoxuan Inc. that can tell

* **P(A)**: Probability of Alice liking Bob
* **P(B|A)**: Probability of Alice smiling at Bob given that she likes Bob
* **P(B)**: Probability of Alice smiling at Bob

(**A**: Alice likes Bob, **B**: Alice smiles at Bob)

However, **the machine warns you that you shall never tell any of the data directly to Bob**. Hence, you decide to calculate the Posterior Probability *P(A|B)* (the probability of Alice liking Bob given that she smiles at him) and directly encourage him to propose if *P(A|B) > 80%*, and discourage him otherwise. You apply Bayes Theorem and told Bob the right thing to do, and he succeeded.

After that, you become so famous that tons of people come to you for your advice. Since you are very busy working on IDL assignments, you hire IDL staff to pre-process the data for you. We have prepared all the data on Kaggle and now it's your time to download the data, process them, generate results and submit your predictions back to Kaggle!


Please follow the Colab Tutorial Notebook and the PDF that we have provided for more information.

Portals:
[Colab Tutorial Notebook](https://colab.research.google.com/drive/1J9myYPvoMu5JiPdoec5Zt4tteCx5dpti?usp=sharing)
[Tutorial PDF](https://hxzhu9819.github.io/homepage/posts/11785_rc0e_colab)