GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BuildingMachineLearningSystemsWithPython/ch06 at master · luispedro/BuildingMachineLearningSystemsWithPython

Expand file tree

/

ch06

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

ch06

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
data
data
 
 
01_start.py
01_start.py
 
 
02_tuning.py
02_tuning.py
 
 
03_clean.py
03_clean.py
 
 
04_sent.py
04_sent.py
 
 
README.md
README.md
 
 
install.py
install.py
 
 
twitterauth.py
twitterauth.py
 
 
utils.py
utils.py
 
 

README.md

Chapter 6 - Classification II - Sentiment Analysis

When doing last code sanity checks for the book, Twitter was using the API 1.0, which did not require authentication. With its switch to version 1.1, this has now changed.

If you don't have already created your personal Twitter access keys and tokens, you might want to do so at https://dev.twitter.com/docs/auth/tokens-devtwittercom and paste the keys/secrets into twitterauth.py

According to https://dev.twitter.com/docs/rate-limiting/1 Twitter has a rate limit of fetching 350 tweets/h for authorized users.

Note that some tweets might be missing when you are running install.py (user got suspended, changed authorization, or tweet deleted) and thus you might get different results. We keep track of those tweet IDs in data/{missing,not_authorized}.tsv, so that they are not fetched when you run install.py.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.