Skip to content

Sananda-Dutta/website-category-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Website Classification App

This is a Machine Learning Website Classification application. It classifies websites into categories based on their content. The project includes data preprocessing, model training, testing, and deployment using Streamlit for a web interface.

โœจ Features

โœ… End-to-end ML pipeline: EDA โ†’ Preprocessing โ†’ Training โ†’ Testing โ†’ Deployment

๐ŸŒ Interactive web app with Streamlit

โšก Real-time website category prediction

๐Ÿ“ฆ Supports .pkl model and label encoder files

๐Ÿง  How the Model Works- The model uses TfidfVectorizer to convert website content into numerical features, then a Support Vector Machine (SVM) classifier predicts the website category. User input is preprocessed before prediction.

๐Ÿ›  How to Run

Clone the repository:

git clone https://github.com/Sananda-Dutta/website-category-classifier cd website-classification

Install dependencies:

pip install -r requirements.txt

Run the Streamlit app:

streamlit run app.py

Enter the website input in the app and see the predicted category.

๐Ÿ“‚ Project Files

File Description

app.py Streamlit application

website_classifier.pkl Trained ML model

label_encoder.pkl Label encoder for categories

requirements.txt Python dependencies

๐Ÿ›  Technologies Used

Python

scikit-learn

pandas, numpy

Streamlit

โœ๏ธ Author

Sananda Dutta

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages