Sunday, April 10, 2022

Gaussian Naive Bayes

Implement Gaussian Naive Bayes classifier using scikit-learn on iris dataset.


Step 01: Import the library

Step 02: Setup the Data

Step 03: Model and its Score

  • then printed classification report and confusion matrix for the classifier.







No comments:

Post a Comment

Friendship

Friendship is the most beautiful relation in the world. Friendship is peace, friendship does not have any restrictions of time and space. Th...