{"id":29092203,"url":"https://github.com/vinit714/player-retention-analysis","last_synced_at":"2026-05-08T14:45:37.565Z","repository":{"id":301484426,"uuid":"1009398162","full_name":"vinit714/Player-Retention-Analysis","owner":"vinit714","description":"A complete Streamlit + Machine Learning + SHAP + NLP project to analyze, predict, and improve player retention in games. This project simulates a game environment, models churn behavior, and provides insights using SHAP, NLP word clouds, and strategy simulators.","archived":false,"fork":false,"pushed_at":"2025-06-27T04:35:36.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-27T05:33:29.555Z","etag":null,"topics":["churn-prediction","classification","data-visualization","eda","feature-engineering","game-analytics","game-data-analysis","gaming-analytics","machine-learning","model-interpretability","nlp","pandas","player-retention","python","retention-analysis","sckiit-learn","shap","streamlit","wordcloud"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vinit714.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-27T04:22:12.000Z","updated_at":"2025-06-27T04:41:17.000Z","dependencies_parsed_at":"2025-06-27T05:33:31.753Z","dependency_job_id":"bede9ac1-f989-4efe-b9da-3fed723948b7","html_url":"https://github.com/vinit714/Player-Retention-Analysis","commit_stats":null,"previous_names":["vinit714/player-retention-analysis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vinit714/Player-Retention-Analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinit714%2FPlayer-Retention-Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinit714%2FPlayer-Retention-Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinit714%2FPlayer-Retention-Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinit714%2FPlayer-Retention-Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinit714","download_url":"https://codeload.github.com/vinit714/Player-Retention-Analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinit714%2FPlayer-Retention-Analysis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262389457,"owners_count":23303341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["churn-prediction","classification","data-visualization","eda","feature-engineering","game-analytics","game-data-analysis","gaming-analytics","machine-learning","model-interpretability","nlp","pandas","player-retention","python","retention-analysis","sckiit-learn","shap","streamlit","wordcloud"],"created_at":"2025-06-28T07:03:57.728Z","updated_at":"2026-05-08T14:45:37.514Z","avatar_url":"https://github.com/vinit714.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Player Retention Analysis\n\nA complete **Streamlit + Machine Learning + SHAP + NLP** project to analyze, predict, and improve player retention in games. This project simulates a game environment, models churn behavior, and provides insights using SHAP, NLP word clouds, and strategy simulators.\n\n---\n\n## Features\n\n- Interactive EDA Dashboard  \n- Churn Prediction using Random Forest  \n- SHAP Explainability for Feature Importance  \n- NLP Word Cloud from Player Reviews  \n- AI-based Retention Strategy Simulator  \n- Dynamic Churn Predictor UI (via Streamlit)\n\n---\n\n## Project Structure\n\n```\nplayer-retention-analysis/\n├── app.py\n├── requirements.txt\n├── data/\n│   └── processed/\n│       └── reviews.csv\n│   └── raw/\n│       └── player_data_enhanced.csv\n├── src/\n│   ├── data_processing.py\n│   ├── model.py\n│   ├── explainability.py\n│   ├── visualizations.py\n│   ├── nlp_analysis.py\n│   ├── strategy_simulator.py\n│   └── utils.py\n├── tests/\n│   ├── test_data_processing.py\n│   └── test_model.py\n└── README.md\n```\n\n---\n\n## Installation\n\n1. **Clone the repository:**\n\n2. **Install dependencies:**\n\n```bash\npip install -r requirements.txt\n```\n\n---\n\n## Run the App\n\n```bash\nstreamlit run app.py\n```\n\nThis will launch the interactive dashboard in your browser.\n\n---\n\n## Running Tests\n\nRun unit tests using:\n\n```bash\npytest tests/\n```\n\n---\n\n## Tech Stack\n\n- **Python 3.10+**\n- Streamlit\n- scikit-learn\n- SHAP\n- Seaborn / Matplotlib\n- WordCloud / TextBlob\n- NLTK\n- pandas / NumPy\n\n---\n\n## Screenshots\n\n![image](https://github.com/user-attachments/assets/6362a63f-1106-45b9-8a0a-de0fa7a8192a)\n![image](https://github.com/user-attachments/assets/063681c3-c6ed-4531-872a-0b0aefd481d6)\n![image](https://github.com/user-attachments/assets/f0b1232c-75f5-4f66-953c-f4c9183b4380)\n![image](https://github.com/user-attachments/assets/2211a685-3b35-4924-b2a7-bfc4aa55da7d)\n![image](https://github.com/user-attachments/assets/3302158a-dafc-402d-b3c8-3d6f76fb4ac7)\n\n\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinit714%2Fplayer-retention-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinit714%2Fplayer-retention-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinit714%2Fplayer-retention-analysis/lists"}