Skip to content

Commit 10b6d25

Browse files
authored
Addressing LFDA sign indeterminacy (#326)
* Add venv to gitignore * Note proposed to address sign indeterminancy
1 parent 8583df4 commit 10b6d25

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/supervised.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,11 @@ same class are not imposed to be close.
292292
lfda = LFDA(k=2, dim=2)
293293
lfda.fit(X, Y)
294294

295+
.. note::
296+
LDFA suffers from a problem called “sign indeterminacy”, which means the sign of the ``components`` and the output from transform depend on a random state. This is directly related to the calculation of eigenvectors in the algorithm. The same input ran in different times might lead to different transforms, but both valid.
297+
298+
To work around this, fit instances of this class to data once, then keep the instance around to do transformations.
299+
295300
.. topic:: References:
296301

297302
.. [1] Sugiyama. `Dimensionality Reduction of Multimodal Labeled Data by Local

0 commit comments

Comments
 (0)