Welcome to the Simplilearn Community

Want to join the rest of our members? Sign up right away!

Sign Up

Search results

  1. Adonis

    ImportError: cannot import name 'cross_validation' from 'sklearn

    The answer should be: from sklearn import model_selection X_train, X_test, Y_train, Y_test = model_selection.train_test_split(X_features,Y_target) Then: print (X_train.shape, X_test.shape, Y_train.shape, Y_test.shape)
  2. Adonis

    ImportError: cannot import name 'cross_validation' from 'sklearn

    What is the reason why I cannot import "from sklearn import cross_validation"?
  3. Adonis

    Under SQL in Pandasdf_student_records = pd.DataFr...

    Thank you, it helped. Can you explain how you knew where to look relating to the update?
Top