Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.16 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.16 KB

Article Classification for Quikfo

Manual Article Spam or Ham Classification program

example of article classification for Quikfo

Getting Started

Dependencies

  1. Install python3 (example is using homebrew on mac).
  2. Install pandas and numpy using pip
$ brew install python3
$ python3 -m pip install numpy
$ python3 -m pip install pandas

Running the program

  1. Run the program with spamScoredArticles.csv, the file that contains the articles
  2. Manually classify away

$ python3 classify.py spamScoredArticles.csv

Exporting just the scored articles into separate CSV

Saves just the scored articles from the first csv into the second csv.

$ python3 classify.py spamScoredArticles.csv --scored onlyScored.csv

Saves just the scored articles from spamScoredArticles.csv in onlyScored.csv

Browser mode

Automatically open a google search of the stock symbol, as well as the article url.

$ python3 classify.py spamScoredArticles.csv --browse

TODO

  • Auto close chrome tabs in --browse mode