Naive Bayes algorithm implemented using SQL. The data naive_melody.sql contains a large amount of data from New York Times web scraping and the goal is to predict which category each scraped website was in. THis was done purely using the words from the body of the website. The data is moved immediately in raw JSON form into mongo DB and then just the body text is extracted out with the category (training label) into postgres SQL where all the real work is done. The data is cleaned up and split apart in python (mongo_to_postgres.py) and then moved over to postgres.
-
Notifications
You must be signed in to change notification settings - Fork 0
kskk02/SQLNaiveBayes
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Naive Bayes algorithm implemented purely on top of SQL
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published