How anuraagpatil007/pokemon-go-analytics works
This repository is a Pokémon Go ratings analysis project. Its main workflow scrapes historical Android and iOS app-page data, combines ratings by timestamp, explores the resulting data, and fits platform-specific models to predict ratings for 2016-11-01 23:50. A separate image-analysis branch extracts screenshot references and classifies images with TensorFlow. The README also mentions Lasso, but no Lasso implementation appears in the tree. Edges reflect sampled code or documented workflow; the exploration input and image-classifier handoff are not fully wired in the excerpts.
Main entry points: data file Ratings datasets · codes Rating predictions · load_html_data.py Ratings scraper · Image_Extraction.py Screenshot extraction
Components 16
Data collection
- Ratings scraper
codes/load_html_data.py - Ratings datasets
data file
Image analysis
- Screenshot extraction
codes/Image_Extraction.py - Image references
data file/image.json - App screenshots
tensorflow - TensorFlow classifier
codes/image_classify_by_tensorflow.py - Image predictions
tensorflow
Data analysis
- Data exploration
codes/Data_exploration.py - Tabular analysis input
Rating prediction
- Android linear model
codes/android-LinearRegression.py - Android ridge model
codes/android-ridge.py - iOS linear model
codes/ios-LinearRegression.py - iOS ridge model
codes/ios-ridge.py - Lasso models
codes - Rating predictions
codes
Other components
- App-page HTML
Connections 17
- App-page HTML → Ratings scraper: scrapes
README.md - Ratings scraper → Ratings datasets: writes datasets
codes/load_html_data.py - App-page HTML → Screenshot extraction: extracts screenshots
README.md - Screenshot extraction → Image references: writes references
codes/Image_Extraction.py - App screenshots → TensorFlow classifier: classifies images
- TensorFlow classifier → Image predictions: writes predictions
codes/image_classify_by_tensorflow.py - Ratings datasets → Data exploration: explores data
- Tabular analysis input → Data exploration: reads data
codes/Data_exploration.py - Ratings datasets → Android linear model: trains from
- Ratings datasets → Android ridge model: trains from
- Ratings datasets → iOS linear model: trains from
- Ratings datasets → iOS ridge model: trains from
- Android linear model → Rating predictions: predicts Android
codes/android-LinearRegression.py - Android ridge model → Rating predictions: predicts Android
codes/android-ridge.py - iOS linear model → Rating predictions: predicts iOS
codes/ios-LinearRegression.py - iOS ridge model → Rating predictions: predicts iOS
codes/ios-ridge.py - Lasso models → Rating predictions: predicts ratings
README.md