How to use MetricMDS
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- julia
- Domain
- documentation
Research direction
Start with the MultivariateStats documentation sections and examples for classical MDS and metric MDS, then verify the documented fit calls against the package API. Done means the documentation includes a working metric MDS invocation and clearly distinguishes its result from classical MDS.
Written by the indexing model from the issue text.
Description
This might be a naive question but I am unable to understand how to use metric MDS. When following the examples in the documentation, I only get classical MDS out. In the documentation, an example for classical MDS (cMDS) is provided, using the code
using MultivariateStats
# ... prepare data X ...
M = fit(MDS, X; maxoutdim=3, distances=false)
# returns "Classical MDS(indim = 4, outdim = 3)"
However, no example for metric MDS (mMDS) is given. Scrolling down, there are 2 sections, one explaining cMDS and one mMDS. In the mMDS section, the code provided to call mMDS seems to be the same as for cMDS:
mds = fit(MDS, X; distances=false, maxoutdim=size(X,1)-1)
There is no specification what one has to load before that to make the function return an mMDS object instead of a cMDS object. (Maybe this is also related to me lacking general knowledge of julia?) I tried things like
using MultivariateStats.MetricMDS
mds = fit(MDS, X; distances=false, maxoutdim=size(X,1)-1)
or
using MultivariateStats
mds = fit(MetricMDS, X; distances=false, maxoutdim=size(X,1)-1)
or
using MultivariateStats
mds = fit(MDS::MetricMDS, X; distances=false, maxoutdim=size(X,1)-1)
but all return errors. Is there a problem with the documentation or am I just doing a silly mistake? Thanks a lot!
- Dominant language
- Julia
- Stars
- 387
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaStats/MultivariateStats.jl
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
tagbot-manual
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
JuliaStats/MultivariateStats.jl#238 · 1 comment ·
-
Return a result even when MetricMDS does not convergePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
JuliaStats/MultivariateStats.jl#233 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
All issues in JuliaStats/MultivariateStats.jl
Similar issues
-
Affine transformations of `JohnsonSU` could return a `JohnsonSU`Possibly taken @devmotion claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JuliaStats/Distributions.jl#2117 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
TomerAberbach/profiler-md#970 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
grame-cncm/faust#1409 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
SciML/PETScDiffEq.jl#521 ·
Maintainers usually reply within 1 day