From 5aa3d40a4216b4634ee58b7c615752ac32b599e3 Mon Sep 17 00:00:00 2001 From: Pierre Alexandre Tremblay Date: Fri, 20 Jun 2025 16:45:40 +0200 Subject: [PATCH] PCA transform fix. added a note on the lower limits of source dataset in transform and fittransform --- doc/PCA.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/PCA.rst b/doc/PCA.rst index cc6bae7..b7b12d0 100644 --- a/doc/PCA.rst +++ b/doc/PCA.rst @@ -34,7 +34,7 @@ :arg action: Run when done - Given a trained model, transform a source :fluid-obj:`DataSet` into the PCA-space and write to a destination DataSet. The DataSets can be the same for both input and output (performs the operation in-place). This process returns the fraction (between 0 and 1) of explained variance. + Given a trained model, transform a source :fluid-obj:`DataSet` into the PCA-space and write to a destination DataSet. The DataSets can be the same for both input and output (performs the operation in-place). This process returns the fraction (between 0 and 1) of explained variance. The minimum number of points in the ``source`` DataSet should be equal or greater than ``numDimensions``. :message inverseTransform: @@ -54,7 +54,7 @@ :arg action: Run when done - ``fit`` and ``transform`` in a single pass. Returns the fraction (between 0 and 1) of explained variance. + ``fit`` and ``transform`` in a single pass. Returns the fraction (between 0 and 1) of explained variance. The minimum number of points in the ``source`` DataSet should be equal or greater than ``numDimensions``. :message transformPoint: