Skip to content

Commit

Permalink
add loadings to mds-methods
Browse files Browse the repository at this point in the history
  • Loading branch information
kescobo committed Oct 12, 2021
1 parent f00cba3 commit 581d1c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmds.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ outdim(M::MDS) = size(M.U,2)
projection(M::MDS) = M.U
eigvals(M::MDS) = M.λ

loadings(M::MDS) = eigvals(M)' .* projection(M)

## use

"""Calculate out-of-sample multidimensional scaling transformation"""
Expand Down

0 comments on commit 581d1c0

Please sign in to comment.