Skip to content

A regression-based deep learning model to forecast YouTube subscriber counts using historical channel data. Includes data preprocessing, model training, evaluation, and result visualization.

Notifications You must be signed in to change notification settings

Saral64/youtube-subscriber-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


πŸ“ˆ YouTube Subscriber Prediction using Deep Learning

This project focuses on building a machine learning model to predict the number of YouTube subscribers for a channel based on historical data and various growth metrics. The model helps estimate future subscriber counts and can assist creators and analysts in tracking audience growth trends.


πŸ” Problem Statement

With the rapid rise of social media platforms like YouTube, predicting subscriber growth has become valuable for content strategy and marketing. Given the huge volume of content and creators, it is essential to forecast subscriber growth to make data-driven decisions. This project aims to develop a model that accurately predicts subscriber count based on historical and other relevant channel features.


βœ… Proposed Solution

  • Use a cleaned and preprocessed dataset containing YouTube channel metrics.
  • Apply regression-based deep learning models to predict subscriber growth.
  • Evaluate model performance using Mean Squared Error (MSE) and Accuracy.
  • Visualize the prediction performance using plots.

🧠 Algorithms Used

  • Model: Dense Neural Network (Regression)
  • Optimizer: Adam
  • Loss Function: Mean Squared Error (MSE)
  • Evaluation Metrics: Accuracy, MSE

πŸ”§ Tech Stack

  • Language: Python
  • Libraries: NumPy, Pandas, Matplotlib, Seaborn, Scikit-learn, TensorFlow / Keras

πŸ“Š Results

  • Training Accuracy: ~99.9%
  • Final MSE: ~422
  • The model performs well even for large-scale prediction (in millions), with acceptable prediction differences.

πŸ“ Project Structure

πŸ“¦ youtube-subscriber-prediction
β”œβ”€β”€ πŸ“Š Results/
β”‚   └── Actual vs Predicted.png
β”‚   └── Training vs Validation Loss.png
β”‚   └── Distribution of Residuals.png
β”œβ”€β”€ πŸ“„ requirements.txt
β”œβ”€β”€ πŸ“„ README.md
└── πŸ“„ subscriber_prediction.ipynb

πŸ› οΈ Installation

Follow these steps to set up and run the project locally:

  1. Clone the repository

    git clone https://github.com/Saral64/youtube-subscriber-prediction.git
    cd youtube-subscriber-prediction
  2. Install dependencies

    pip install -r requirements.txt
  3. Run the Jupyter Notebook

    jupyter notebook

    Open subscriber_prediction.ipynb in the Jupyter interface to explore and run the code.


πŸ“ˆ Future Scope

  • Add more updated YouTube data (2025+)
  • Integrate real-time analytics using YouTube APIs
  • Apply more advanced models (e.g., LSTM, XGBoost)
  • Expand to prediction across multiple social platforms (Instagram, Twitter)

πŸ”— Dataset Source


About

A regression-based deep learning model to forecast YouTube subscriber counts using historical channel data. Includes data preprocessing, model training, evaluation, and result visualization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published