Python Sci-Kit Learn : Multilabel Classification ValueError: could not convert string to float:
i am trying to do multilabel classification using sci-kit learn 0.17 my data looks like training Col1 Col2 asd dfgfg [1,2,3] poioi oiopiop [4] test Col1 asdas gwergwger rgrgh hrhrh my code so far import numpy as np from sklearn import svm, datasets from sklearn.metrics import precision_recall_curve from sklearn.metrics import average_precision_score from sklearn.cross_validation import train_test_split from sklearn.preprocessing import label_binarize from sklearn.multiclass import OneVsRestClassifier def getLabels(): traindf = pickle.load(open("train.pkl","rb")) X = traindf['Col1'] y = traindf