Skip to content

svk-vasanthkumar/Employee-Salary-Prediction-by-SVK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Employee Salary Prediction Web App

This is a simple and interactive Machine Learning web app that predicts whether a person earns more than β‚Ή50K/year based on their profile. The app is built using Python, Streamlit, and Scikit-learn.


πŸ“Œ Features

  • βœ… Predicts salary category (>50K or <=50K)
  • βœ… Built with Streamlit for easy web UI
  • βœ… Logistic Regression ML model
  • βœ… Data visualizations using Seaborn & Matplotlib
  • βœ… Takes real-time user input

πŸ›  Tech Stack

  • Python
  • Pandas, NumPy
  • Scikit-learn (Machine Learning)
  • Streamlit (Web Interface)
  • Matplotlib, Seaborn (Charts)
  • Plotly
  • Joblib (Model saving)

πŸš€ How to Run the Project

1. Clone the Repository

git clone https://github.com/your-username/employee-salary-prediction.git cd employee-salary-prediction 2. Install Requirements bash Copy Edit pip install -r requirements.txt 3. Launch the App If using the notebook:

bash Copy Edit streamlit run "employee salary prediction svk.ipynb" ⚠️ Note: For smoother experience, it's better to convert the notebook into a Python script app.py and run:

bash Copy Edit streamlit run app.py πŸ§ͺ How It Works User provides input like age, education, occupation, hours/week, etc.

The ML model makes a prediction on salary level.

Output is shown instantly on the web app.

πŸ“ Dataset File: adult 3.csv

Based on UCI Adult Income dataset

Used for training and testing the model

πŸ“Έ UI Preview (Optional) Add a screenshot of the Streamlit app here if you like.

πŸ™Œ Contribution Feel free to fork this repo and submit a pull request. Suggestions are always welcome!

πŸ“„ License This project is for educational use and is open source.

python Copy Edit


Let me know if you'd like help with:

  • Pushing it to GitHub step-by-step
  • Converting the .ipynb into app.py
  • Adding images or a demo GIF

I'm here to help you make it perfect! πŸš€

About

πŸ” A Streamlit-based machine learning web app that predicts if an employee earns more than β‚Ή50K/year using Logistic Regression.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors