Skip to content

shahzadmustafa15/svm-placement-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š Placement Prediction using SVM

This project uses a Support Vector Machine (SVM) to predict student placement based on their CGPA and IQ score.


πŸ”§ Technologies Used

  • Python
  • Pandas, Seaborn, Matplotlib
  • scikit-learn
  • mlxtend (for decision boundary plot)

πŸ“ Dataset

  • File: placement.csv
  • Columns:
    • id (dropped)
    • cgpa (float)
    • iq (int)
    • placement (0 or 1)

πŸ“ˆ Model

  • Classifier: SVC(kernel="linear")
  • Feature scaling applied using StandardScaler
  • Data split: 80% training / 20% testing

βœ… Evaluation

Metric Score
Training Accuracy ~91%
Testing Accuracy ~90%

Also includes:

  • Confusion Matrix
  • Classification Report

πŸ“‰ Decision Boundary

Decision Boundary


πŸš€ How to Run

pip install pandas matplotlib seaborn scikit-learn mlxtend
python placement_svc.py

About

Predicting student placement based on CGPA and IQ using SVM (Support Vector Machine).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published