Update/dash aix360 heart - #805
Open
budescode wants to merge 2 commits into
Open
Conversation
- Declare the nine direct dependencies in pyproject.toml and lock with uv - Regenerate requirements.txt from uv.lock so pip users still work - Bump aix360 0.2.1 -> 0.3.0 - Bump scikit-learn 0.24.2 -> 1.3.2, capped below 1.4 because aix360 uses an argument scikit-learn 1.4 removed - Bump numpy 1.20.3 -> 1.26.4, capped below 2 for scikit-learn 1.3 - Bump pandas 1.2.4 -> 3.0.5 - Bump cvxpy 1.1.13 -> 1.7.5 - Bump dash 1.20.0 -> 4.4.1 - Bump dash-bootstrap-components 0.12.2 -> 2.0.4 - Bump plotly 4.14.3 -> 7.0.0 - Bump gunicorn 20.1.0 -> 26.2.0 - Drop tensorflow, torch, keras, Django, xgboost, shap, lime and the other packages the app never uses - Drop dash-core-components, dash-html-components, dash-renderer and dash-table, merged into dash - Require Python 3.11 or 3.12; raise runtime.txt from 3.7.6 to 3.12.11
…andas 3 - Replace dash_core_components and dash_html_components imports with from dash import dcc, html - Replace app.run_server with app.run - Replace dbc.FormGroup, removed in dash-bootstrap-components 1.0, with html.Div - Replace Series.append with pd.concat in utils.py, removed in pandas 2.0 - Replace Series.iteritems with Series.items in utils.py, removed in pandas 2.0 - Update the Python version in the README setup instructions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for app: none (dependency update, no linked issue)
App pull request
About
Brings dash-aix360-heart to current package versions and makes it
installable with uv or pip from a fresh clone.
The scikit-learn and numpy caps are the newest versions that work with
the newest aix360. aix360's FeatureBinarizer still calls
OneHotEncoder(sparse=False), removed in scikit-learn 1.4, on both the
0.3.0 release and current master. Lifting the caps only needs an aix360
release with that call updated.
Verified on Python 3.12: the data loads, the model trains, the
explanation table and GAM data compute, and the callback produces
figures for every combination of the two dropdowns.
Workflow
elements necessary for successful deployment are in place.
existing gallery app, I've summarized the changes requested in the
appropriate Streambed issue and confirm that they have been applied.
the GitHub repository for the source code in the portal description.
DashR gallery, the app in this PR mimics, as closely as possible,
the style and functionality of the existing app.
assets/folder.The pre-review review
I have addressed all of the following questions:
any dead and/or irrelevant code.)
readable and, where it isn't, it has been commented appropriately.)
lessen the volume of code that needs to be maintained.)
Post PR (at merge time)
#patch- An app has been updated or fixed#minor- A new app has been added, or an app has been significantly reworked#major- Breaking changes, make sure to discuss with dash-core before using this tag