In this series, we are going to code a Naive Bayes classifier from scratch in Python. And in this video, we are going to write the code that is going to execute the first step of the Naive Bayes algorithm. Links: - Corresponding blog post: https://www.sebastian-mantey.com/code-blog/coding-a-naive-bayes-classifier-from-scratch-python-p2-first-step-of-the-algorithm - GitHub repo: https://github.com/SebastianMantey/Naive-Bayes-from-Scratch - the "problem of rare values": https://youtu.be/mLt6Ck5YZ8s?t=513 - Corresponding playlist: https://www.youtube.com/watch?v=7O_cya8q3BA&list=PLPOTBrypY74znqaVZajqfsmFOtLjWGXpn - "Naive Bayes from scratch" playlist: https://www.youtube.com/watch?v=7O_cya8q3BA&list=PLPOTBrypY74znqaVZajqfsmFOtLjWGXpn Timestamps: 0:00 - Introduction 1:07 - Determining values for the label 7:37 - Determining probabilities for the features 19:35 - Handling the “problem of rare values”