please turn off your webcam if you are joining from
play

Please turn off your webcam. If you are joining from Mobile device - PowerPoint PPT Presentation

Please turn off your webcam. If you are joining from Mobile device make sure you click on Join via Device Audio We are waiting for other participants to join. Thank you for your patience! Mihir Thakkar Founder and Instructor


  1. Please turn off your webcam. If you are joining from Mobile device make sure you click on Join via Device Audio We are waiting for other participants to join. Thank you for your patience!

  2. Mihir Thakkar Founder and Instructor hello@codeheroku.com

  3. ● Quick Recap ● Categories of ML Algorithms SESSION ● Build a Naive Bayes OBJECTIVES Classifier

  4. Supervised Machine Learning Features House Size (Sq feet) Location Age (years) Prize (Lakh Rs) 500 Mumbai 2 70 Training Data 1500 Pune 3 100 2000 Banglore 4 60 1000 Mumbai 2 ? Test Data 3000 Pune 10 ?

  5. Linear Regression E.g. Predict the score of a student based on number of hours studied Create a Model y = M * x + B 90 Error Predicted Score for Score 10 hours studied = 60 60 30 0 2 4 6 8 10 12 Hours Studied

  6. Categories of Machine Learning Algorithms Discriminative Generative IMDB IMDB Like Rating Rating Dislike Movie Time Movie Time E.g. Linear Regression E.g. Naive Bayes Classifier

  7. Naive Bayes Algorithm

  8. Naive Bayes Algorithm

  9. Why is Naive Bayes, called Naive?

  10. ● Simple and Easy to Implement ● Executes Quickly Advantages of ● Scales for Real-time Use Naive Bayes Cases and Massive Data Sets

  11. QUIZ Naive Bayes Algorithm is best suitable for cases where: 1. Speed of algorithm is critical 2. Accuracy of classification is critical

  12. Setup Environment http://www.codeheroku.com/post?name=Python%20Libraries%20Installation pip install numpy matplotlib pandas scikit-learn scipy http://www.codeheroku.com/static/workshop/code/supervised-ml/naive-bayes. zip

  13. Ham or Spam Email Classification http://www.codeheroku.com/static/workshop/hw/supervised-ml/spam.csv

  14. Thank you! Your feedback means a lot https://www.facebook.com/codeheroku/reviews/

Recommend


More recommend