I am trying to split my dataset into training and testing dataset, but I am getting this error:
X_train,X_test,Y_train,Y_test = sklearn.cross_validation.train_te
"cross_validation" name is now deprecated and was replaced by "model_selection" inside the new anaconda versions. So you can use
from sklearn.model_selection import train_test_split