No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
.gitignore
README.md
gather.js
local-constants.js
package-lock.json
package.json
train.js

README.md

Classification Example

Takes data from Twitter, trains a classifier and evaluates the performanace.

Setting up

Install dependencies:

npm install

Export Twitter auth variables:

export CONSUMER_KEY=...
export CONSUMER_SECRET=...
export ACCESS_TOKEN=...
export ACCESS_TOKEN_SECRET=...

Running

Get some data from Twitter:

node gather.js

Train model and predict accuracy:

node train.js