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

Appendix : Covariance Type #354

Open
FluffyG88 opened this issue Oct 3, 2022 · 0 comments
Open

Appendix : Covariance Type #354

FluffyG88 opened this issue Oct 3, 2022 · 0 comments

Comments

@FluffyG88
Copy link

The code is found in the a/m.

Encountering error:
cannot unpack non-iterable numpy.float64 object
Error in callback <function install_repl_displayhook..post_execute at 0x0000028D8639F9D0> (for post_execute):

It is related to
draw_ellipse(model.means_[0], model.covariances_[0], ax[i],
alpha=0.2)

When model.covariance passed data to
width, height = 2 * np.sqrt(covariance)

I think that the reason is height is blank or no value causing the problem.

What is the fix?

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