-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
mds._smacof_single: tidy up and implementation details #11381
Copy link
Copy link
Closed
Labels
Description
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 and disparities are used interchangeably, which make the code difficult to understand. This could be tided up.
I have several questions about implementation:
-
Why
disparitiesare 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?
Reactions are currently unavailable