Twitter Region Classifier Continued
brew install python3
or apt install python3
or conda install python3
pip3 install jupyter
pip3 install pymongo
pip3 install numpy
pip3 install scipy
pip3 install sklearn
pip3 install nltk
brew install git
or apt install git
or conda install git
git clone https://github.com/gt-big-data/twitter_region_classifier_continued.git
cd twitter_region_classifier_continued
jupyter-notebook twitter_region_classifier.ipynb
- open
localhost:8888
in your web browser
- Fetch tweets in the database
- Feature engineering*
- Use Scikit Learn's logistic regression library
- Train the model
- Make predictions
- Get test set accuracy
- Get result of your input sentence
- Look into the logistic regression model we trained
- Add extra features at the feature engineering step
- Use word embeddings instead of one-hot word vectors