Skip to content

Updated libraries in Day 1_Data Preprocessing - #102

Open
gp1234 wants to merge 1 commit into
Avik-Jain:masterfrom
gp1234:modules-update
Open

Updated libraries in Day 1_Data Preprocessing#102
gp1234 wants to merge 1 commit into
Avik-Jain:masterfrom
gp1234:modules-update

Conversation

@gp1234

@gp1234 gp1234 commented Mar 14, 2023

Copy link
Copy Markdown

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

MirroZhou commented Mar 14, 2023 via email

Copy link
Copy Markdown

@Cherrie52

Cherrie52 commented Mar 14, 2023 via email

Copy link
Copy Markdown

@wangzhenhua92429

wangzhenhua92429 commented Mar 14, 2023 via email

Copy link
Copy Markdown

@wengJJ

wengJJ commented Mar 14, 2023 via email

Copy link
Copy Markdown

@dqhf

dqhf commented Mar 14, 2023 via email

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants