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

Changing Housing Regression tutorial to use California housing dataset #1041

Closed
wants to merge 3 commits into from

Conversation

diegoolano
Copy link
Contributor

Summary: Use of the Boston dataset has been deprecated by sklearn due to ethical issues and so we changed the tutorial to instead use the California Housing dataset

@facebook-github-bot
Copy link
Contributor

@diegoolano has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@vivekmig vivekmig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great overall, thanks for the great work on this @diegoolano :) !

A few small comments:

In the last text cell "and spike in Layer 4." -> should probably be "Neuron 0" (this seems like a mistake in the original notebook, should've referred to Neuron rather than Layer)

In the attribution comparison, it looks like gradient SHAP now is less aligned with other methods compared to before, which is likely due to using the training data distribution as the baseline distribution (as opposed to 0). It might be good to highlight that the baseline is different for GradientShap here as a potential cause for the discrepancy ("In this tutorial we use zero-valued baselines for all features, ...") or alternatively we could consider removing GradientShap from the comparison if it's more confusing. cc @NarineK - what do you think?

@vivekmig
Copy link
Contributor

Also, looks like the model file isn't included in this PR, we need to update that as well. The current model is boston_model.pt

@facebook-github-bot
Copy link
Contributor

@diegoolano has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@diegoolano merged this pull request in 4de6602.

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

Successfully merging this pull request may close these issues.

None yet

3 participants