Skip to content

k-siddhartha-ai/Salary_Prediction_Using_Linear_Regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’Ό Salary Prediction Using Linear Regression

An interactive Machine Learning web application that predicts salary (in thousands) based on skill level using an explainable Linear Regression model.

Designed as a lightweight end-to-end ML project demonstrating model training, evaluation, visualization, and deployment using Streamlit and Hugging Face Spaces.

πŸš€ Live Demo

πŸ‘‰ https://huggingface.co/spaces/Siddhartha001/Salary_Prediction_Using_Linear_Regression

🧠 Project Overview

This project showcases a simple yet interpretable regression workflow:

Synthetic dataset for controlled experimentation

Linear Regression for salary prediction

Interactive user input using Streamlit

Real-time inference and visualization

Model performance metrics (MSE, RΒ²)

The goal is to demonstrate core regression concepts, clean UI design, and reproducible ML deployment.

πŸ›  Tech Stack

Python

Streamlit

NumPy

Scikit-learn

Matplotlib

✨ Features

Interactive skill-level slider

Real-time salary prediction

Regression visualization with fitted line

Model evaluation metrics:

Mean Squared Error (MSE)

RΒ² Score

Clean and explainable ML pipeline

πŸ“‚ Project Structure Salary_Prediction_Using_Linear_Regression/ β”œβ”€β”€ src/ β”‚ └── streamlit_app.py # Main Streamlit application β”œβ”€β”€ requirements.txt # Python dependencies β”œβ”€β”€ README.md # Project documentation

βš™οΈ How It Works

Synthetic skill vs salary data is generated

Linear Regression model is trained

User selects skill level through UI

Model predicts salary instantly

Visualization displays regression behavior

🌐 Deployment

Built using Streamlit

Hosted on Hugging Face Spaces

Automatic rebuild on commit

πŸ‘¨β€πŸ’» Author

K. Siddhartha Python Developer | AI / NLP Developer

πŸ”— GitHub: https://github.com/k-siddhartha-ai

πŸ€— Hugging Face: https://huggingface.co/Siddhartha001

⭐ Notes

This project is intended for educational demonstration of regression modeling and explainable ML concepts. The dataset is synthetic and used for visualization purposes.

About

Explainable Machine Learning project predicting salary using Linear Regression. Interactive Streamlit app with regression visualization and model evaluation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages