You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
joeldierkes
added a commit
to joeldierkes/MultivariateStats.jl
that referenced
this issue
Sep 18, 2024
The result of a non-converged model might still be interesting. However, since
`ConvergenceExceptions` are thrown these partially fitted models are discarded.
This commit adds a `omit_convergence_exception` argument to all relevant
functions that allows the user to omit such exceptions and return the partially
trained model. The exception is still thrown in the default case to preserve
backwards compatibility.
joeldierkes
added a commit
to joeldierkes/MultivariateStats.jl
that referenced
this issue
Sep 18, 2024
The result of a non-converged model might still be interesting. However, since
`ConvergenceExceptions` are thrown these partially fitted models are discarded.
This commit adds a `omit_convergence_exception` argument to all relevant
functions that allows the user to omit such exceptions and return the partially
trained model. The exception is still thrown in the default case to preserve
backwards compatibility.
Three algorithms can throw a
ConvergenceException
:MetricMDS
,ICA
andPPCA
. 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.
The text was updated successfully, but these errors were encountered: