import pandas as pd from sklearn import svm ### Read the CSV ### df = pd.read_csv(\'C:/Users/anagha/Documents/Python Scripts/sampleData.csv\') df from sklearn.cros
You can try
from sklearn.svm import SVC
then
model = SVC(kernel='linear', c=1, gamma=1)
worked fine for me