Skip to content

Repository files navigation

# 🎬 Movie Genre Prediction Using NLP

A Machine Learning based web application that predicts the genre of a movie from its description using Natural Language Processing (NLP).

This project was developed as part of the **Summer Training - Generative AI Course**.

---

## 📌 Project Overview

Movie genres are generally assigned manually after analyzing the movie storyline. When dealing with a large number of movies, this process becomes time-consuming and prone to errors.

This project automates the process by using Natural Language Processing (NLP) and Machine Learning. Users simply enter a movie description, and the system predicts the most suitable movie genre.

---

## 🚀 Features

- Predicts movie genre from a movie description
- Simple and user-friendly web interface
- Text preprocessing before prediction
- Uses TF-IDF Vectorization
- Machine Learning based prediction
- Fast and accurate results

---

## 🛠️ Technologies Used

- Python
- HTML
- CSS
- JavaScript
- Flask
- Scikit-learn
- TF-IDF Vectorizer
- LinearSVC
- Joblib

---

## 📂 Project Workflow

1. User enters a movie description.
2. The text is preprocessed.
3. TF-IDF converts the text into numerical features.
4. The trained Machine Learning model predicts the movie genre.
5. The predicted genre is displayed on the screen.

---

## 📊 Machine Learning Process

- Dataset Collection
- Data Preprocessing
- TF-IDF Feature Extraction
- Model Training using LinearSVC
- Model Evaluation
- Genre Prediction

---

## 📁 Project Structure

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages