-
-
Notifications
You must be signed in to change notification settings - Fork 46.8k
Type Error in linear_discriminant_analysis.py #1601
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
Comments
My bad. Sorry about that. |
no problem |
Now you know why I love to see doctests. It would be great to see linear_discriminant_analysis.py in our test list https://travis-ci.com/TheAlgorithms/Python/builds/138595890#L429 |
@cclauss , I will do it as soon as possible |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a type error in this following code:
pre_indexes = predict_y_values(x, actual_means, variance, probabilities)
the 'probabilities' parameter must be a list object , but is a generator object.
generated error is as follows:
TypeError: 'generator' object is not subscriptable
The text was updated successfully, but these errors were encountered: