Join the conversation
![](https://codanics.com/wp-content/uploads/2024/04/IMG_20240410_175137-1-scaled.jpg)
Done
Reply
![](https://codanics.com/wp-content/uploads/2024/04/IMG_16954467347071342.jpg)
https://www.kaggle.com/muhammadrameez242 , ye meri kaggle ki I'd hai yha par Ap mukamal assignments simple roman urdu mein mill jai gi codes mein
Reply
![](https://codanics.com/wp-content/uploads/2024/04/IMG_16954467347071342.jpg)
Done
Reply
![](https://codanics.com/wp-content/uploads/2023/10/e24e3cc0-f9cd-49cc-9e5e-e7fea619bd42.jpg)
I have done this video with 100% practice.
Reply
![](https://codanics.com/wp-content/uploads/2024/05/My_profile_pic.jpg)
I have done this lecture with 100% practice.
Reply
![](https://codanics.com/wp-content/uploads/2023/10/9dd24f5a-b137-440a-baba-1855925152a0.jpg)
And I also learned in this lecture how to code an NB algorithm for classification in Python.Steps of Naïve Bayes in Python1- Import libraries
2- Load the dataset IRIS
3- Train test and split the data
4- Model initialize
5- Train the model
6-predict the test data
7- Evaluate the model
8-Model initialization for Multinomial
9- Train the model for Multinomial
10-Predict the test data for Multinomial
11- Evaluate the model for Multinomial
12-Model initialize for Bernoulli
13- Train the model for Bernoulli
14-Predict the test data for Bernoulli
15- Evaluate the model for Bernoulli
16- Save the model
17- Load the modelALLAH PAK aap ko sahat o aafiyat wali lambi umar ata kray aor ap ko dono jahan ki bhalian naseeb farmaey aur aap ke walid-e-mohtram ko karwat karwat jannat ata farmaye,Ameen.
Reply
![](https://codanics.com/wp-content/uploads/2024/02/2.jpg)
Python coding for Naive Bayes algorithm.
Reply