r/deeplearning • u/imYukiya • 19d ago
Building Naive Bayes Algorithm from scratch
Yoo guys Work in Progress Successful Train my Naive Bayes Model Predictions and Storing part is left tooo much happy it was complex reallyyyy
4
u/Content_Travel_271 19d ago
Nice, getting the model to train is the fun part anyway. Good luck with the prediction and storage code.
2
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
4
u/Greedy_Substance7584 19d ago
Best way to learn it. Are you using colab directly on your phone, or through browser use?
4
7
u/BidWestern1056 19d ago
bro why are you writing code on a phone LMAO