Day 9 - Placement Project: Logistic Regressionπ
Nischal Baidar
1 min read
Project Overview
This project demonstrates the application of logistic regression to predict placement outcomes based on features such as CGPA and IQ scores. The goal is to build a predictive model that can accurately determine whether a student will be placed or not based on their attributes. π―
Steps
1. Preprocessing + EDA + Feature Selection π§Ή
Load Data: Load the dataset and perform exploratory data analysis (EDA) to understand the data and select relevant features. π
Feature Selection: Choose input and output columns for the model. π
2. Extract Input and Output Columns π
- Extract the features (X) and target variable (Y) from the dataset. π
3. Scale the Values π
- Normalize feature values to ensure better performance and convergence of the model. π
4. Train-Test Split π
- Split the data into training and testing sets to evaluate model performance. π§ͺ
5. Train the Model π οΈ
- Implement and train the logistic regression model on the training data. π
6. Evaluate the Model π
Assess the model's performance using metrics like accuracy. π
Visualize the decision boundaries to understand model behavior. πΌοΈ
Check the complete code on my Github Repository
0
Subscribe to my newsletter
Read articles from Nischal Baidar directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by