CliMA / CliMA/EnsembleKalmanProcesses.jl

SingularExceptions more common, add to list of common errors in docs, and insert better error message

Open
#412 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
125
Forks
24
Avg merge
1d 18h
Merged PRs (30d)
5

Description

## Issue
The default localizer in EKI `NICE(1,1)` is sometimes overly penalizing the ensemble (e.g. where the ensemble size is already larger than the effective dimension of the problem).

This causes unhelpful SingularException errors

## Simplest solution
- Reducing the first parameter of the localizer to something small by default e.g. `NICE(0.05,1)` (effectively reducing the localizer strength) can ensure more robustness in general.
- Improving the error message to indicate that if `NICE(0.05,1)` is active, then the user can choose to reduce the values.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the default localizer configuration and the code path that raises SingularException, then find the documentation section listing common errors. Done means the default behavior and error message are improved as described, the SingularException guidance is documented, and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
documentation, machine-learning
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.