SVM algorithm in Python with classification
The goal of this project is to predict whether the customer will purchase a car(1) or not(0).
The dataset consists of 5 columns User ID, Gender, Age, Estimated Salary, Purchased(1 if purchased else 0)
Here the features responsible to predict purchaser is Age and Estimated Salary as User ID and Gender have no impact on the prediction.
- Understanding the Goal of project
- Importing the required libraries and the dataset
- Splitting the dataset (Train and Test sets)
- Feature Scaling for normalization (Using linear SVC)
- Fitting the SVM classifier model
- Making predictions
- Generating the Confusion Matrix
- Visualizing the results (Train and Test sets)