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

fix: LIME returns NaN weight if a feature contains a single value #1117

Merged
merged 1 commit into from
Jul 12, 2021

Conversation

memoryz
Copy link
Contributor

@memoryz memoryz commented Jul 9, 2021

fix: LIME returns NaN weight if a feature contains a single value or when the sampler cannot obtain a different state for a feature due to data skew. It returns zero weights for all other features.

…when the sampler cannot obtain a different state for a feature due to data skew. It returns zero weights for all other features.
@memoryz
Copy link
Contributor Author

memoryz commented Jul 9, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@codecov
Copy link

codecov bot commented Jul 9, 2021

Codecov Report

Merging #1117 (a96c0f7) into master (fe70f31) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1117      +/-   ##
==========================================
- Coverage   85.74%   85.72%   -0.03%     
==========================================
  Files         252      252              
  Lines       11605    11609       +4     
  Branches      599      605       +6     
==========================================
+ Hits         9951     9952       +1     
- Misses       1654     1657       +3     
Impacted Files Coverage Δ
...icrosoft/ml/spark/explainers/LassoRegression.scala 96.96% <100.00%> (-3.04%) ⬇️
.../execution/streaming/continuous/HTTPSourceV2.scala 92.08% <0.00%> (-0.72%) ⬇️

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 fe70f31...a96c0f7. Read the comment docs.

@mhamilton723 mhamilton723 merged commit 41bfd05 into microsoft:master Jul 12, 2021
@memoryz memoryz deleted the jasowang/lime branch July 13, 2021 23:22
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.

None yet

2 participants