Skip to content

Mubeen-Channa/smart-salary-predictor-model

Repository files navigation

💼 Salary Prediction Model

This project demonstrates a simple Linear Regression model built with scikit-learn to predict a person's salary based on their years of experience. The model is deployed using Streamlit for a clean and interactive web interface.


🌐 Live Demo

🔗 Visit Website


📸 Screenshot

Smart Salary Prediction


📊 Dataset


🔧 Technologies Used

  • Python
  • Pandas & Matplotlib
  • Scikit-learn
  • Streamlit
  • Pickle (for model serialization)

🧠 Model Workflow

  1. Load Dataset (online & offline options)
  2. Visualize the relationship using a scatter plot
  3. Split data into training and testing sets
  4. Train a Linear Regression model
  5. Evaluate model with R² Score and MSE
  6. Serialize the trained model using pickle
  7. Deploy using Streamlit

🙏 Contributors

Thanks to everyone who’s contributed!

  • Mubeen Channa (@Mubeen-Channa) – Project maintainer
  • Irfan Narejo (@meet-irfan) – Boot accuracy to 90% (+4%), cut MSE to 31 (from 48)

Feel free to add yourself here if you make a contribution!

🙏 Contributors

Thanks to everyone who’s contributed!

Mubeen Channa
Mubeen Channa

Project maintainer
Irfan Narejo
Irfan Narejo

Boot accuracy to 90% (+4%), cut MSE to 31 (from 48)

🚀 How to Run Locally

  1. Clone the repository
  2. Install required packages:
    1. pip install pandas matplotlib scikit-learn streamlit
    2. python -m streamlit run app.py / streamlit run app.py
    

About

This repository contains a machine learning project that predicts a professional's salary based on their years of experience using Polynomial Regression with Ridge Regularization. The project follows a full ML workflow from data preprocessing to model deployment.

Topics

Resources

Stars

Watchers

Forks

Contributors