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

Miscellaneous fixes #939

Merged
merged 6 commits into from
Jan 14, 2025
Merged

Miscellaneous fixes #939

merged 6 commits into from
Jan 14, 2025

Conversation

kbattocchi
Copy link
Collaborator

@kbattocchi kbattocchi commented Dec 11, 2024

Fixes #938, plus cleans up some other minor issues, including enabling sklearn 1.6 and fixing our documentation builds.

@@ -228,10 +228,10 @@
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'python': ('https://docs.python.org/3', None),
'numpy': ('https://numpy.org/doc/stable/', None),
'sklearn': ('https://scikit-learn.org/stable/', None),
'sklearn': ('https://scikit-learn.org/1.5/', None),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Even though this PR enables support for sklearn 1.6, that doesn't help here because our docs still build on Python 3.8 (because of the tensorflow dependency for Deep IV), where sklearn 1.5 is the latest version.

We need to specifically link to this version of the sklearn docs because there was a change in the structure of their docs between 1.5 and 1.6, so the mismatch between what we were building against vs. what we were linking to was causing broken links.

@kbattocchi kbattocchi marked this pull request as ready for review January 14, 2025 15:14
Copy link
Collaborator

@fverac fverac left a comment

Choose a reason for hiding this comment

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

Looks good!

@kbattocchi kbattocchi merged commit 459a9ff into main Jan 14, 2025
93 checks passed
@kbattocchi kbattocchi deleted the kebatt/miscFixes branch January 14, 2025 15:20
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.

sklearn.tree.plot_tree does not work with econml.grf.CausalForest
2 participants