Return a result even when MetricMDS does not converge

Open
#233 1 comment 0 reactions 0 assignees View on GitHub

@joeldierkes is already working on this.

Since Sep 18, 2024.

  • #234 by @joeldierkes — open

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaStats/MultivariateStats.jl

All issues in JuliaStats/MultivariateStats.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.