-
Notifications
You must be signed in to change notification settings - Fork 372
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
Bug of "meanValue" function #63
Comments
Hey @Study-is-happy, I'm not maintainer of this repository but still... I was intrigued by your suspicions.
The method Later on, in
Lets have a look at each descriptor
unfortunately you are right, For I agree this is not as readable as it should be, especially for the |
In "meanValue" function, if "mean" is assigned with a new value, one of the descriptor would change to this new value too.
I don't know if it is what it should be, but I think the descriptor in this function should not be modified. Here is what I am guessing: when initializing the cluster, a random descriptor is chosen as the "mean", but not in a "clone" way. So if the mean is changing, that chosen descriptor would be changing at the same time (they are the referencing the same address)
The text was updated successfully, but these errors were encountered: