-
To view the notebook, please click
notebook.ipynb
in the above section. -
To see the Python script, click on
script.py
. -
To download the dataset using Browser, click on
SUV_Purchase
--> Right Click onRaw
--> Click onSave Link As
. -
To import this dataset in python, use:
import pandas as pd
df = pd.read_csv('https://raw.githubusercontent.com/arnabd64/classifier-comparison-1/main/SUV_Purchase.csv')
- To import this dataset in R, use:
df <- read.csv('https://raw.githubusercontent.com/arnabd64/classifier-comparison-1/main/SUV_Purchase.csv')
The aim of this notebook is to provide a simple comparison between several classification models. The models included are:
-
Logistic Regression
-
k-Nearest Neighbors
-
Decision Tree Classifier
-
Random Forest Classifier
-
Naive Bayes Classifier
-
Support Vector Machines