Skip to content

Classification and Regression - Part A: cross_validation deprecated #3

@enzedonline

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions