Git Product home page Git Product logo

youtube_popularity_prediction's Introduction

YouTube Video Popularity Predictor

Overview

This project aims to predict the popularity of YouTube videos in the AI and ML niche using machine learning and NLP techniques. The output is the predicted popularity

Dataset

The dataset consists of video titles, channels, views, likes, and other metrics from YouTube.

Setup and Installation

  • Clone this repository.
  • Install required packages: pip install -r requirements.txt
  • Start the Flask application by running: python run.py
  • Open your web browser and enter the URL http://127.0.0.1:5000 to access the application.

Structure

Youtube_Prediction/
- │
- ├── .flaskenv                   (Environment variables for Flask)
- ├── app/                        (Flask application directory)
- │   ├── __init__.py             (Initializes the Flask app and includes create_app function)
- │   ├── routes.py               (Contains route definitions for the Flask app)
- │   ├── templates/              (HTML templates for the application)
- │   │   ├── index.html          (The main page of the web app)
- │   │   └── result.html         (The page to display predictions or results)
- │   └── static/                 (Static files like CSS, JavaScript, and images)
- │       └── style.css           (CSS styles for the web app)
- │
- ├── model/                      (Directory for the machine learning model)
- │   ├── pre_processing.py       (Contains the Preprocessor class for data preprocessing)
- │   └── model.py                (Script to train and save the ML model)
- │
- ├── dataset/                    (Dataset directory) 
- │   └── AI_ML_YT_Videos.csv     (Dataset used by the ML model)
- │
- ├── run.py                      (Script to run the Flask application)
- ├── trained_model.pkl           (The trained machine learning model (saved after training))
- └── requirements.txt            (File specifying the dependencies for the project)

Contributing

Contributions to the project are welcome!

License

This project is licensed under the MIT License.

youtube_popularity_prediction's People

Contributors

nguyhu01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.