[pymvpa] Trying to use Scikit-Learn PCA yields error

Michael Hanke mih at debian.org
Sat Dec 27 09:26:11 UTC 2014


Hi,

On Thu, Dec 18, 2014 at 03:43:34PM +0000, Thomas Nickson wrote:
> in _forward_dataset(self, ds)     89             self._set_trained()
>   90         else:---> 91             out = tf.transform(ds.samples,
> self._get_y(ds))     92         return out
> TypeError: transform() takes exactly 2 arguments (3 given)

Thanks for the report. I have pushed a simple fix that prevents this

https://github.com/PyMVPA/PyMVPA/commit/fef1c4e3a7e339e998208a27e83cabb6398454f7

Cheers,

Michael

-- 
Michael Hanke
http://mih.voxindeserto.de



More information about the Pkg-ExpPsy-PyMVPA mailing list