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

"AI Explanations - Tabular data example" read json failure #107

Open
threadgoldc opened this issue Jun 13, 2020 · 1 comment
Open

"AI Explanations - Tabular data example" read json failure #107

threadgoldc opened this issue Jun 13, 2020 · 1 comment

Comments

@threadgoldc
Copy link

image

@threadgoldc
Copy link
Author

Can be fixed with:

response = json.loads(resp_obj.s[resp_obj.s.find('{'):])

Same occurs in:
attributions_resp = json.loads(batch_explain.s[batch_explain.s.find('{'):])

Then requires a patch on:

rows.append([val, test_data.iloc[1].tolist()[i], attributions[val][0]])

I have a pull request ready if these are general issues and not something I have messed up.

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

No branches or pull requests

1 participant