Extracting headline from Wikipedia by using regex with an text-extractor provided by instructor(code for text-extractor not include), then do a frame detection on it. Naturally, frame detection can be viewed as a text classification task, where the text are the news headlines and the classes/categories are the frames. We will take this approach to try and predict the news headlines. I implement Logistic Regression and Naïve Bays for it, and also write my own code to calculate the accuracy in our_metrics.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Extracting headline from Wikipedia by using regex, then do a frame detection on it. Naturally, frame detection can be viewed as a text classification task, where the text are the news headlines and the classes/categories are the frames. We will take this approach to try and predict the news headlines.
YuhaoT/NLP-Text-Classification
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Extracting headline from Wikipedia by using regex, then do a frame detection on it. Naturally, frame detection can be viewed as a text classification task, where the text are the news headlines and the classes/categories are the frames. We will take this approach to try and predict the news headlines.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published