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

Using smaller root than power? #1

Open
Make42 opened this issue Mar 2, 2021 · 1 comment
Open

Using smaller root than power? #1

Make42 opened this issue Mar 2, 2021 · 1 comment

Comments

@Make42
Copy link

Make42 commented Mar 2, 2021

In fcm_get_u you have the line inv_distances = np.reciprocal(nonzero_distances) ** (1 / (m - 1)). Shouldn't m-1 be replaced with m? In fcm you write um = u ** m afterall.

@99991
Copy link
Owner

99991 commented Mar 2, 2021

I think there was some issue with literature where m was used differently depending on author. Not sure though if this was the exact issue.

The derivation went something like this. The -1 in the computation of u comes from taking the derivative with respect to u. When computing v, there is no derivative with respect to u, so no -1 there.

But maybe there is a mistake in there somewhere, so if you find any, feel free to point them out.

derivation

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

2 participants