mne-tools/mne-python — pull request #271 by dengemann (2012-12-14 21:34:05+00:00)
Title: ENH + FIX: Ica fix sklearn

This is a fresh PR, my history got messed up unfortunately.

We now have:
- dropped sklearn instances
- sklearn parameter and attribute serialization into fif via named tuple
- new private instance methods for transforming and inverse transforming
- public mixing matrix properties which return None if nothing is fitted.admittedly these aren't helpful unless you also know about the prewhitener,
the mean and the pca components. But this can easily be added if desired at some point.
- putatively improved memory footprint as sources aren't stored anywhere in the instance.
- support for different sklearn API versions
- more maintainable code, as now there is exactly one block in which the critical interfacing happens, namely ica._decompose.