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

use new getNativeModel method in get_surrogate_booster_pyspark to simplify erroranalysis code #1475

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

imatiach-msft
Copy link
Contributor

@imatiach-msft imatiach-msft commented Jun 8, 2022

Description

Use new getNativeModel method in get_surrogate_booster_pyspark to simplify erroranalysis code.
The getNativeModel has just recently been added to synapseml in PR microsoft/SynapseML#1515. Now we can update the get_surrogate_booster_pyspark to use that instead of the custom logic to save/read from file when using error analysis in spark scenario.

Error Analysis on 4GB Higgs dataset in databricks cluster:

image

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@imatiach-msft imatiach-msft requested a review from gaugup as a code owner June 8, 2022 18:42
@codecov-commenter
Copy link

codecov-commenter commented Jun 8, 2022

Codecov Report

Merging #1475 (40f5473) into main (9b14e05) will decrease coverage by 2.26%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             main    #1475      +/-   ##
==========================================
- Coverage   87.27%   85.00%   -2.27%     
==========================================
  Files         108       57      -51     
  Lines        5108     2881    -2227     
==========================================
- Hits         4458     2449    -2009     
+ Misses        650      432     -218     
Flag Coverage Δ
unittests 85.00% <33.33%> (-2.27%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...is/erroranalysis/_internal/surrogate_error_tree.py 86.91% <0.00%> (+1.10%) ⬆️
erroranalysis/erroranalysis/version.py 100.00% <100.00%> (ø)
...onsibleai/responsibleai/serialization_utilities.py
.../responsibleai/_managers/counterfactual_manager.py
.../responsibleai/modelanalysis/constants/__init__.py
responsibleai/responsibleai/__init__.py
...ponsibleai/responsibleai/_managers/base_manager.py
...bleai/responsibleai/_tools/causal/causal_result.py
responsibleai/responsibleai/_managers/__init__.py
...ponsibleai/databalanceanalysis/balance_measures.py
... and 43 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b14e05...40f5473. Read the comment docs.

@imatiach-msft imatiach-msft force-pushed the ilmat/spark-booster-get-model branch from e92c832 to 04e45eb Compare June 8, 2022 20:20
@imatiach-msft imatiach-msft force-pushed the ilmat/spark-booster-get-model branch from 04e45eb to 314167a Compare June 9, 2022 13:34
@imatiach-msft imatiach-msft force-pushed the ilmat/spark-booster-get-model branch from 314167a to 84cdfc9 Compare June 9, 2022 15:11
@imatiach-msft imatiach-msft force-pushed the ilmat/spark-booster-get-model branch from 84cdfc9 to 40f5473 Compare July 5, 2022 17:00
@imatiach-msft imatiach-msft merged commit e551ade into main Jul 5, 2022
@imatiach-msft imatiach-msft deleted the ilmat/spark-booster-get-model branch July 5, 2022 19:53
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.

3 participants