This is Part two implementing Naive Bayes algorithm from scratch in Python; A single model for both Categorical & Numeric data. Check Part one for a refresher where I discuss theory and application intuitively. We’ll also get introduced to approaching Machine Learning Imbalanced Binary Classification problem; Discussing topics like: Feature Engineering, K Fold Cross Validation & Model Evaluation using several tools & metrics (Precision, Recall. Accuracy, Classification Report and Confusion Matrix). At the very end, we will explain the code used to generate the Jupyter Notebook; This includes Python Class/Object, Data Class, Slicing, Loops & much more. Mentions: - Mixed Naive Bayes Guide: https://youtu.be/1QulO1jS2Hk - Probability Distribution Functions: https://youtu.be/bs5rPzr8zr4 - Statistical Inference: https://youtu.be/uLNK_ewiDrU - Data Analysis: https://youtu.be/_57goAoPjBs Chapters: - - - - - - - - - 00:00 Problem Definition: Imbalanced Binary Classification 00:47 Feature Engineering 02:36 Out Of Sample Validation 02:48 Gaussian Naive Bayes: Mixed Model 03:23 Machine Learning Model Evaluation: Supervised Classification 06:45 Stratified K fold Cross Validation 07:28 Gaussian Naive Bayes: Scikit-Learn 08:16 Feature Scaling 08:46 Implementation vs Scikit-Learn: Gaussian 09:04 Mixed Naive Bayes Model 09:57 Classification Threshold Moving for Imbalanced Data 10:37 Mixed Model vs Scikit-Learn: Bernoulli & Categorical Naive Bayes 10:51 Categorical Naive Bayes Syntax: Groupby vs Crosstab 11:25 Python Code Explanation 16:32 Data Class & Python Class/Object - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Let’s Connect: Subscribe: https://www.youtube.com/channel/UCznO0Q8DWgA0CCryOp1XJIg?sub_confirmation=1 LinkedIn: https://linkedin.com/in/amrmuhamad GitHub: https://github.com/AmMoPy - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Soundtrack – Intro: Track: Strybo - Curse [NCS Release] Music provided by NoCopyrightSounds. Watch: https://youtu.be/XsmuiDRKbDk Free Download / Stream: http://ncs.io/Curse - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Soundtrack – Outro: Track: Rex Hooligan x Anna Simone - No More Levitation [NCS Release] Music provided by NoCopyrightSounds. Watch: https://youtu.be/SsQecRjoqBQ Free Download / Stream: http://ncs.io/NoMoreLev - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #naivebayes #machinelearning #datascience