`ICA` does not surface whether the decomposition converged
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- machine-learning
Línea de trabajo
Start at the ICA _fit entry point and trace the fastica, infomax, and picard paths, then inspect how save() serializes fitted state. Confirm how convergence is currently reported and identify the persistence and test locations. Done means fitted ICA objects expose the result and retain it after saving and loading, including when fitting stops at max_iter.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
After
ica.fit(),ica.n_iter_holds the iteration count andica.max_iter
the limit, but there is no attribute saying whether fitting converged or
stopped at the limit. A user has to know to compare the two.Why it matters
These are different results and they are not distinguishable in saved output.
An ICA that hitmax_iterproduces components that are still used to pick
ica.exclude, and the exclusions are then applied to the data. Nothing
downstream — not the cleanedRaw, not a saved-ica.fif— records that the
decomposition was truncated.ica = mne.preprocessing.ICA(n_components=4, method='fastica', random_state=97, max_iter=200) ica.fit(raw) ica.n_iter_ == ica.max_iter # the only way to know, and easy not to checkMNE does warn at fit time, but a warning is not part of the object and does not
surviveica.save().Suggestion
A
converged_boolean set during_fit, and included in whatsave()writes,
would make this checkable after the fact. Happy to open a PR if that would be
welcome, including for theinfomaxandpicardpaths.Context
Noticed while writing an MNE adapter for
daftar. I am raising the same point with
three other packages that have the same pattern, so please read this as a
question about a shared convention rather than a complaint about MNE.
- Lenguaje dominante
- Python
- Estrellas
- 3.6k
- Forks
- 1.6k
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 82
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de mne-tools/mne-python
-
ENH: Add `description` filter parameter to `Raw.crop_by_annotations()`Posiblemente ocupada @aman-coder03 la tomó hace 201 días. AbiertoENH
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mne-tools/mne-python#13743 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
ENH
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
mne-tools/mne-python#14454 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
auto-issue
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
mne-tools/mne-python#14442 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
mne-tools/mne-python#14428 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
ENH
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
mne-tools/mne-python#14427 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de mne-tools/mne-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
google-agentic-commerce/AP2#388 ·
-
area:codegen backend:cuda backend:hip bug direction:input
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CrossGL/crosstl#3061 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
rlaope/oh-my-hermes#2304 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
mochan-tk/agentic-dev-kit-for-codex#64 ·
Los mantenedores suelen responder en 1 día
-
Windows ARM memory-leakAbiertobug docs performance
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 3 días