Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced deprecated module (cross_validation) Ch-02 naive_bayes.py #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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