Skip to content

Instantly share code, notes, and snippets.

View Arshad221b's full-sized avatar

Arshad Kazi Arshad221b

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Arshad221b
Arshad221b / SVM.py
Last active March 10, 2020 04:12
SVM implementation
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from sklearn.model_selection import train_test_split
from sklearn.svm import SVC
from sklearn.metrics import classification_report, confusion_matrix
#importing the data
bankdata = pd.read_csv("D:/Datasets/bill_authentication.csv")