Skip to content

Abhismoothie/NBC_Tomato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

READ ME -

To execute this code, follow these steps:

Ensure that the necessary libraries and packages are installed in your Python environment. Import required libraries.

The program takes a filename as input and uses the built-in csv (rt_reviews.csv) module to read the contents of the file.

Import the necessary libraries at the beginning of the script and use the code given in notebook on this link -

Code References -

J. Brownlee, “A Gentle Introduction to Bayes Theorem for Machine Learning,” 2019.

N. S. Chauhan, “Naïve Bayes Algorithm: Everything You Need to Know,” 2022.

T. Srivastava, “12 Important Model Evaluation Metrics for Machine Learning Everyone Should Know,” 2019.

S. Ray, Naive Bayes Classifier Explained: Applications and Practice Problems of Naive Bayes Classifier, analyticsvidhya, 2017.

A tutorial on how to split a dataset into train, validation, and test sets using Python and scikit-learn: https://towardsdatascience.com/train-validation-and-test-sets-72cb40cba9e7

Building a Naive Bayes Classifier for Movie Reviews: https://pythonprogramming.net/naive-bayes-classifier-nltk-tutorial/

Chen, S. F., & Goodman, J. (1998). An empirical study of smoothing techniques for language modeling. Computer Speech & Language, 12(4), 359-394. https://doi.org/10.1006/csla.1998.0146

Report References -

[1] J. Brownlee, “A Gentle Introduction to Bayes Theorem for Machine Learning,” 2019.

[2] N. S. Chauhan, “Naïve Bayes Algorithm: Everything You Need to Know,” 2022.

[3] T. Srivastava, “12 Important Model Evaluation Metrics for Machine Learning Everyone Should Know,” 2019.

[4] S. Ray, Naive Bayes Classifier Explained: Applications and Practice Problems of Naive Bayes Classifier, analyticsvidhya, 2017.

[5] A. Ng, “Support Vector Machines: A Visual Explanation with Sample Python Code,” 2017.

[6] J. VanderPlas, “Python Data Science Handbook,” O’Reilly Media, 2016.

[7] D. Jurafsky and J. H. Martin, “Speech and Language Processing,” Pearson Education, 2019.

[8] A. Géron, “Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow,” O’Reilly Media, 2019.

#NBC_Tomato

Releases

No releases published

Packages

No packages published