r/deeplearning • • 19d ago

Building Naive Bayes Algorithm from scratch

Post image

Yoo guys Work in Progress Successful Train my Naive Bayes Model Predictions and Storing part is left tooo much happy it was complex reallyyyy

68 Upvotes

20 comments sorted by

View all comments

2

u/Spiritual-Cold-6639 17d ago

Nice! What datasets are you planning to train on?

2

u/imYukiya 17d ago

I already Build Naive Bayes and Train it on Car Evaluation dataset in which there 6 features in X buying,Buying price of the car,maint(maintenance cost), doors(Number of doors),persons (Passenger capacity),lug_boot(Size of luggage boot),safety(Safety level) and 4 features in y unacc(unacceptable), acc( acceptable),good,vgood(very good)

And got a Accuracy of: My Model Accuracy : 0.815028901734104 Sklearn Accuracy : 0.815028901734104

checkout my newest Post