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

Request for help with type error in KNN example #4

Open
fuprofk opened this issue Jul 24, 2021 · 0 comments
Open

Request for help with type error in KNN example #4

fuprofk opened this issue Jul 24, 2021 · 0 comments

Comments

@fuprofk
Copy link

fuprofk commented Jul 24, 2021

My students and I are attempting to run the KNN example. We're encountering this error, which is almost certainly due to using a newer version of Python, but we can't figure out how to fix it. We're hoping there is an easy fix:

TypeError: dict_items([((1.56, 2.46), [(-0.5252, [1.0, 2.0], '1')]), ((0.98, 1.34), [(-0.4359999999999999, [1.0, 2.0], '1')]), ((6.08, 7.54), [(-56.498000000000005, [1.0, 2.0], '1')]), ((8.42, 9.23), [(-107.3293, [1.0, 2.0], '1')])]) is not JSON serializable

Thank you.

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