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

Updated libraries in Day 1_Data Preprocessing #102

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

Conversation

gp1234
Copy link

@gp1234 gp1234 commented Mar 14, 2023


Update deprecated libraries from scikit

Two imports in the code were causing errors when run because they are right now deprecated by scikit.


Describe the bug

  1. The sklearn.preprocessing no longer has an Imputer import instead it got an SimpleImputer.
  2. The module `` got rename to sklean.model_selection instead of `cross_validation`
    ## To Reproduce
    Steps to reproduce the behavior:
  3. Copy the code as described originally
  4. Run it

Expected behavior

The code should run without any errors.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Mac on local Jypeter notebook

@MirroZhou
Copy link

MirroZhou commented Mar 14, 2023 via email

@Cherrie52
Copy link

Cherrie52 commented Mar 14, 2023 via email

@wangzhenhua92429
Copy link

wangzhenhua92429 commented Mar 14, 2023 via email

@wengJJ
Copy link

wengJJ commented Mar 14, 2023 via email

@dqhf
Copy link

dqhf commented Mar 14, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants