-
Notifications
You must be signed in to change notification settings - Fork 834
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
Change Outlier call depending on type #2205
Conversation
Mon Jul 27 19:04:26 UTC 2020 impatient try |
Mon Jul 27 19:04:35 UTC 2020 impatient try |
return_instance_score=ret_instance_score, | ||
) | ||
op_preds = {} | ||
name = self.model.meta['name'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would model meta name always be set? Otherwise may be worth adding .get("name", None) to avoid exception
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should always be there: https://github.com/SeldonIO/alibi-detect/blob/ca9af48e3590121daff39a6c5d76261838867d3c/alibi_detect/utils/saving.py#L68
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok i seen, thanks for the reference
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: axsaucedo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Change outlier call based on loaded detector
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: