Skip to content

Repository files navigation

πŸ€– AI-Based Hiring Prediction System

Python Machine Learning License Status

An end-to-end Machine Learning system that predicts whether a candidate should be Hired or Rejected based on their experience, skills, education, certifications, projects, salary expectation, and AI score.


🎯 Project Objective

The goal of this project is to assist recruiters in making data-driven hiring decisions using Machine Learning.

The system provides:

  • βœ… Hire / Reject prediction
  • πŸ“Š Hiring probability
  • πŸ“ˆ Model performance evaluation
  • πŸ” Feature importance analysis
  • πŸ‘₯ Multiple candidate prediction
  • πŸ“ Prediction result export

🧠 Machine Learning Workflow

Dataset
   ↓
Data Cleaning
   ↓
Exploratory Data Analysis
   ↓
Feature Engineering
   ↓
One-Hot Encoding
   ↓
Train-Test Split
   ↓
Logistic Regression
   ↓
Model Evaluation
   ↓
Model Saving
   ↓
Candidate Prediction

πŸ› οΈ Technologies Used

  • Python
  • Pandas
  • NumPy
  • Matplotlib
  • Seaborn
  • Scikit-learn
  • Joblib
  • Logistic Regression

πŸ“Š Model Performance

Metric Result
Training Samples 800
Testing Samples 200
Test Accuracy 99.50%
Model Logistic Regression

πŸ“Œ Features Used

Numerical Features

  • Experience
  • Salary Expectation
  • Projects Count
  • AI Score

Categorical Features

  • Skills
  • Education
  • Certifications
  • Job Role

πŸ” Feature Importance

The model analyzes which features have the strongest influence on hiring predictions.

The project includes:

  • feature_importance.csv
  • Top 10 Feature Importance visualization

πŸ“Έ Project Screenshots

Hiring Decision Distribution

Hiring Decision Distribution

AI Score vs Hiring Decision

AI Score vs Hiring Decision

Confusion Matrix

Confusion Matrix

Top 10 Feature Importance

Top 10 Feature Importance

Candidate Prediction Demo

Candidate Prediction Demo

Education vs Hiring Decision

Education vs Hiring Decision

Job vs Hiring Decision

Job vs Hiring Decision

Project Count vs Hiring Decision

Project Count vs Hiring Decision

Salary Expectation vs Hiring Decision

Salary Expectation vs Hiring Decision


▢️ How to Run

1. Clone the Repository

git clone https://github.com/deepuchandel114-beep/Repository-name-AI-Based-Hiring-Prediction-System.git
cd Repository-name-AI-Based-Hiring-Prediction-System

2. Create a Virtual Environment

python -m venv venv

3. Activate the Virtual Environment

Windows:

venv\Scripts\activate

4. Install Dependencies

pip install -r requirements.txt

5. Run the Project

python hiring_prediction.py

The system will train the model, evaluate its performance, save the trained model and encoder, perform candidate predictions, and generate result files.


πŸ“‚ Project Structure

AI-Based-Hiring-Prediction-System/
β”‚
β”œβ”€β”€ Data/
β”‚   └── hiring_data.csv
β”‚
β”œβ”€β”€ screenshots/
β”‚   β”œβ”€β”€ AI Score vs Hiring Decision.png
β”‚   β”œβ”€β”€ Candidate Prediction Demo.png
β”‚   β”œβ”€β”€ Confusion Matrix.png
β”‚   β”œβ”€β”€ Education vs Hiring decision.png
β”‚   β”œβ”€β”€ Hiring decision distribution.png
β”‚   β”œβ”€β”€ Job vs Hiring Decision.png
β”‚   β”œβ”€β”€ Project Count vs Hiring decision.png
β”‚   β”œβ”€β”€ Salary Expectation vs Hiring Decision.png
β”‚   └── Top 10 Feature Importance.png
β”‚
β”œβ”€β”€ hiring_prediction.py
β”œβ”€β”€ hiring_model.pkl
β”œβ”€β”€ hiring_encoder.pkl
β”œβ”€β”€ feature_importance.csv
β”œβ”€β”€ prediction_result.csv
β”œβ”€β”€ multiple_candidate_results.csv
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
└── .gitignore

πŸš€ Future Improvements

The current system can be further enhanced with the following features:

  • Build an interactive web interface using Streamlit or Flask
  • Allow recruiters to enter candidate details through a form
  • Add resume parsing and automatic candidate information extraction
  • Integrate NLP-based skill matching
  • Compare multiple Machine Learning algorithms
  • Add model explainability using SHAP
  • Store candidate predictions in a database
  • Deploy the application on a cloud platform
  • Add recruiter authentication and candidate management
  • Develop a REST API for real-time hiring predictions

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

Deepak

B.Tech β€” Artificial Intelligence

This project was developed as an end-to-end Machine Learning project focused on applying predictive analytics to recruitment and hiring decisions.


πŸ“„ License

This project is licensed under the MIT License.


⚠️ Limitations

This project is intended for educational and demonstration purposes.

The prediction generated by the model should not be used as the sole basis for real-world hiring decisions. Actual recruitment decisions should consider human evaluation, interviews, qualifications, experience, organizational requirements, and applicable fairness and employment policies.

The model's performance also depends on the quality, size, and characteristics of the training dataset.


About

AI-powered hiring prediction system with PDF resume analysis, candidate scoring, and ML-based Hire/Reject prediction.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages