8000 get rid of inplace operation and warning by gautam-e · Pull Request #4061 · fastai/fastai · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

get rid of inplace operation and warning #4061

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

gautam-e
< 8000 /span> Copy link
@gautam-e gautam-e commented Jan 7, 2025

Fixes #4043

I tried to make the change in the notebook but ran into a Module Not Found error (get_embeddings) . I couldn't figure out how to fix that so here's the change directly in the py file.

@gautam-e gautam-e requested a review from jph00 as a code owner January 7, 2025 15:37
@gautam-e gautam-e mentioned this pull request Jan 7, 2025
@bjarnehinkel
Copy link

I am currently trying to fix this issue as well. When I use the method you use in this pull request, it does get rid of the warning. But there seem to be some issues with the na_dict when fixing in this way. In the dataset I am using for validation (https://www.kaggle.com/c/house-prices-advanced-regression-techniques/data), missing values that should be getting filled with a median of 0 are being filled with 136 instead (This is referring to the MasVnrArea column, and taking into consideration only the rows that are in the TabularPandas training set when determining the median).

@bjarnehinkel
Copy link

Update: the na_dict seems fine. The issue is arising elsewhere. Notebook demonstrating this pending.

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.

Is there plan to update FillMissing for fastai.tabular ?
2 participants
0