runamica: min_dll and min_grad_norm written as %f, so AMICA's stopping rules never fire
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
Research direction
Start in runamica._write_param_file, where float parameters are written with %f except minlrate and mineig, which already use scientific format. Switch min_dll and min_grad_norm (and any other parameter that can fall below 1e-6) to the same scientific format. Add a test that writes the parameter file and reads it back, checking that the two values are not written as 0.000000. Done when the amica15 parameter file carries the nonzero values and the test passes.
Written by the indexing model from the issue text.
Description
At edf694c8, runamica._write_param_file writes every float parameter with %f except minlrate and mineig. min_dll=1e-9 and min_grad_norm=1e-7 therefore reach the amica15 binary as 0.000000, so use_min_dll and use_grad_norm can never stop a run and every fit runs to max_iter. Fix: write both (and any other parameter that can be below 1e-6) in scientific format, as for minlrate and mineig, and add a test that reads the parameter file back.
Found while setting conservative AMICA convergence for NEMAR's nemar-ica (nemarOrg/nemar-process#81, epic nemarOrg/nemar-cli#2324). pAMICA receives the correct values; only the amica15 binary path is affected.
- Dominant language
- Python
- Stars
- 38
- Forks
- 10
- Avg merge
- 18h 23m
- Merged PRs (30d)
- 218
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
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 sccn/eegprep
-
gui-parity
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
sccn/eegprep#871 · 1 comment ·
Maintainers usually reply within 1 day
-
Checked checkboxes on Windows: use a darker blue, as in MATLABPossibly taken @arnodelorme claimed this 3 days ago. Opengui-parity
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sccn/eegprep#811 · 2 comments ·
Maintainers usually reply within 1 day
-
function-parity
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sccn/eegprep#789 · 2 comments ·
Maintainers usually reply within 1 day
-
function-parity
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sccn/eegprep#790 · 2 comments ·
Maintainers usually reply within 1 day
-
function-parity
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sccn/eegprep#787 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
essreduce
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
[PORT] A2A: map audio file parts to audio content and ignore MIME parameters (TS→Py)Possibly taken A pull request linked to this issue is open or already merged. Openarea-a2a bug port python
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
strands-agents/harness-sdk#6697 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TigreGotico/orthography2ipa#2950 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TigreGotico/text2spoken#929 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100