In this python machine learning tutorial for beginners we will build email spam classifier using naive bayes algorithm. We will use sklearn CountVectorizer to convert email text into a matrix of numbers and then use sklearn MultinomialNB classifier to train our model. The model score with this approach comes out to be very high (around 98%). Sklearn pipeline allows us to handle pre processing transformations easily with its convenient api. In the end there is an exercise where you need to classify sklearn wine dataset using naive bayes. #MachineLearning #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #NaiveBayes #sklearntutorials #scikitlearntutorials Dataset: https://github.com/codebasics/py/blob/master/ML/14_naive_bayes Exercise: https://github.com/codebasics/py/blob/master/ML/14_naive_bayes/exercise.md Code:https://github.com/codebasics/py/blob/master/ML/14_naive_bayes/14_naive_bayes_2_email_spam_filter.ipynb Exercise solution: https://github.com/codebasics/py/blob/master/ML/14_naive_bayes/Exercise/14_naive_bayes_exercise.ipynb Topics that are covered in this Video: 00:00 explore spam email dataset 02:33 sklearn CountVectorizer 04:30 types of naive bayes classifiers 05:23 sklearn MultinomialNB classifier 06:48 sklearn pipeline 09:35 Exercise Do you want to learn technology from me? Check https://codebasics.io/ for my affordable video courses. Next Video: Machine Learning Tutorial Python - 16: Hyper parameter Tuning (GridSearchCV): https://www.youtube.com/watch?v=HdlDYng8g9s&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw&index=17 Populor Playlist: Data Science Full Course: https://www.youtube.com/playlist?list=PLeo1K3hjS3us_ELKYSj_Fth2tIEkdKXvV Data Science Project: https://www.youtube.com/watch?v=rdfbcdP75KI&list=PLeo1K3hjS3uu7clOTtwsp94PcHbzqpAdg Machine learning tutorials: https://www.youtube.com/watch?v=gmvvaobm7eQ&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw Pandas: https://www.youtube.com/watch?v=CmorAWRsCAw&list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy matplotlib: https://www.youtube.com/watch?v=qqwf4Vuj8oM&list=PLeo1K3hjS3uu4Lr8_kro2AqaO6CFYgKOl Python: https://www.youtube.com/watch?v=eykoKxsYtow&list=PLeo1K3hjS3uv5U-Lmlnucd7gqF-3ehIh0&index=1 Jupyter Notebook: https://www.youtube.com/watch?v=q_BzsPxwLOE&list=PLeo1K3hjS3uuZPwzACannnFSn9qHn8to8 Tools and Libraries: Scikit learn tutorials Sklearn tutorials Machine learning with scikit learn tutorials Machine learning with sklearn tutorials Website: https://codebasics.io/ Facebook: https://www.facebook.com/codebasicshub Twitter: https://twitter.com/codebasicshub

naive bayes python tutorialnaive bayes python code from scratchpython naive bayes examplenaive bayes classifier pythonnaive bayes pythonnaive bayes sklearnnaive bayes classifier tutorialnaive bayes algorithm in pythonbayes classifier machine learningbayes classificationnaive bayes classifier solved examplenaive bayes rule examplebayes classifier numerical examplebayes classifier examplenaive bayes classifier in pythonprediction using naive bayes