Skip to content

Classification and Regression - Part A: cross_validation deprecated #3

Description

@enzedonline

The following will fail as the cross_validation module was deprecated some years ago (how old are these lectures?!)

from sklearn.cross_validation import train_test_split

Replace with:

from sklearn.model_selection import train_test_split

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions