Question: can anyone please explain the Naive Bayes for classification in simple way. and this example also. thank you. Naive Bayes for classification Frequency and
Naive Bayes for classification Frequency and likelihood table All 1410=0.71144=0.29 Applying Bayes' theorem: P( Yes Sunny )=P(SunnyYes)P( Yes )/P( Sunny ) P(SunnyYes)=3/10=0.3 P(S Sunny )=0.35 P(Yes)=0.71 So P(YesSunny)=0.30.71/0.35=0.60 Problem: If the weather is P( No Sunny )=P(SunnyNo)P( No )/P( Sunny ) "Sunny", then the Player P(SunnyNO)=2/4=0.5 P(No)=0.29 should play or not? P( Sunny )=0.35 So P( No Sunny )=0.50.29/0.35=0.41 P(HE)=P(E)P(EH)P(H) P( Yes Sunny )>P( No Sunny ) Hence on a Sunny day, Player can play the game
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
