scikit-learn/scikit-learn — pull request #1103 by kuantkid (2012-09-02 15:26:52+00:00)
Title: FIX: this fixes issues #746 ProbabilisticPCA minor things

Fix the issues opened here: https://github.com/scikit-learn/scikit-learn/issues/746

1. It uses a non-stanard 'dim' attribute : change every dim to n_features, including in the doc strings
2. The score function has an unnecessary loop : use matrix multiplication to calculate the log likelihood, no loop any more
3. Sign error fixed. The test script(test_probabilistic_pca_1) also contains an error similar to this one, fixed as well.

Passed test_probabilistic_pca_{1,2,3,4}.

@amueller