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

adding feature importance for new model types #128

Merged
merged 1 commit into from
Sep 13, 2018
Merged

Conversation

leahmcguire
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Sep 12, 2018

Codecov Report

Merging #128 into master will decrease coverage by 0.03%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
- Coverage   86.19%   86.15%   -0.04%     
==========================================
  Files         298      298              
  Lines        9668     9672       +4     
  Branches      329      540     +211     
==========================================
  Hits         8333     8333              
- Misses       1335     1339       +4
Impacted Files Coverage Δ
...c/main/scala/com/salesforce/op/ModelInsights.scala 92.56% <0%> (-1.56%) ⬇️
.../salesforce/op/features/FeatureBuilderMacros.scala 0% <0%> (-100%) ⬇️
...om/salesforce/op/utils/spark/OpSparkListener.scala 98.7% <0%> (+1.29%) ⬆️
...es/src/main/scala/com/salesforce/op/OpParams.scala 89.79% <0%> (+4.08%) ⬆️

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 078ea62...4e882cb. Read the comment docs.

Copy link
Collaborator

@tovbinm tovbinm left a comment

Choose a reason for hiding this comment

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

lgtm. can we unit test this simply somehow?

@leahmcguire
Copy link
Collaborator Author

it would not be simple - they would be pretty heavy duty (see long running) tests

@leahmcguire leahmcguire merged commit fdd780e into master Sep 13, 2018
@leahmcguire leahmcguire deleted the lm/featureImp branch September 13, 2018 02:08
@tovbinm
Copy link
Collaborator

tovbinm commented Sep 13, 2018

I mean we can unit test just the getModelContributions and other model isights functions without actually training the models but just instantiating them, e.g:
getModelContributions(Some(new GBTClassificationModel(...))

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