Return a result even when MetricMDS does not converge
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- julia
- Domain
- data, machine-learning
Research direction
Start by locating the MetricMDS, ICA, and PPCA fitting entry points and the ConvergenceException handling. Determine how an opt-out convergence option should preserve the current default behavior, then add coverage showing that non-converged fits can return a model while default fits still raise the exception.
Written by the indexing model from the issue text.
Description
Three algorithms can throw a ConvergenceException: MetricMDS, ICA and PPCA. The exception contains information about the convergence criteria and how they are unrealized, without returning an actual model.
While this is the desired default behavior, it would be nice to have the option to opt out of the exception and return a model even if the convergence criteria are not met.
An application would be a repeated fit of such a model on different datasets, where the actual convergence is not as important for some individual datasets as the successful execution of the fit. The only options right now are to either exclude such a dataset or set individual convergence criteria, which is quite cumbersome.
- 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 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
How to use MetricMDSOpen
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
JuliaStats/MultivariateStats.jl#231 · 2 comments ·
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