I am trying to use data I collected from an experiment to create an SVM model using sci-kit. My input data is 3D array (example x below), with labels being boolean labels (example y).
X = [[[00, 00], [01, 01],[02,02]],[[10,10],[11,11],[12,12]],[[20,20],[21,21],[22,22]]]
y = [0, 1,1]
clf = svm.SVC()
clf.fit(X, y)
However, whenever I try to execute the code above, I get the following error.
ValueError: Found array with dim 3. Estimator expected <= 2.
I am new to machine learning and scikit. I would appreciate any help and directions that help solve this problem.