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
Im using sklearn version 0.18
my problem was solved
from sklearn import svm
change for
from sklearn.svm import SVC