You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a bit puzzled about implementation of the SMACOF algorithm.
Especially in LL98-108 names of the variable a very confusing: disparities, similarities, sim, dis and disparities are used interchangeably, which make the code difficult to understand. This could be tided up.
I have several questions about implementation:
Why disparities are multiplied by np.sqrt((n_samples * (n_samples - 1) / 2) / (disparities ** 2).sum()) (L107)?
Could you please point on which theoretical derivations this implementation is based?
Despite the names of the variables the equations are coherent with theoretical work, nicely summarized in the book:
Modern Multidimensional Scaling Theory and Applications, Ingwer Borg Patrick J.F. Groenen
#18933 makes a summary of issues with smacof algorithm. I'm closing this one as it is more a question than an issue. Feel free to open a new github discussion if more clarifications are needed.
Hi everyone,
I'm a bit puzzled about implementation of the SMACOF algorithm.
Especially in LL98-108 names of the variable a very confusing:
disparities
,similarities
,sim
,dis
anddisparities
are used interchangeably, which make the code difficult to understand. This could be tided up.I have several questions about implementation:
Why
disparities
are multiplied bynp.sqrt((n_samples * (n_samples - 1) / 2) / (disparities ** 2).sum())
(L107)?Could you please point on which theoretical derivations this implementation is based?
Maybe @NelleV can help?
The text was updated successfully, but these errors were encountered: