Skip to content

Conversation

@yuranpereira
Copy link

Replaced deprecated "cross_validation" with "model_selection" from lines 4, 35, 55, 59 and 63.

cross_validation has been deprecated since version 0.18: This module will be removed in 0.20

Replaced deprecated "cross_validation" with "model_selection" from lines 4, 35, 55, 59 and 63.

cross_validation has been deprecated since version 0.18: This module will be removed in 0.20
https://scikit-learn.org/0.19/modules/generated/sklearn.cross_validation.train_test_split.html
@yuranpereira yuranpereira changed the title Replaced deprecated module (cross_validation) Replaced deprecated module (cross_validation) Ch-02 naive_bayes.py Feb 5, 2019
@yuranpereira yuranpereira changed the title Replaced deprecated module (cross_validation) Ch-02 naive_bayes.py Replaced deprecated module (cross_validation) Ch-02 naive_bayes.py Feb 5, 2019
@rdarbha
Copy link

rdarbha commented May 29, 2020

Thanks for posting this, I just had the exact same issue. Using your fix resolve the problem.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants