Skip to content

Commit 49e433c

Browse files
authored
Merge pull request #4811 from markotoplak/fix-pca-subset
[FIX] PCA: fix subsets with the "Data" output
2 parents afa99a2 + 501f3a7 commit 49e433c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Orange/widgets/unsupervised/owpca.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ def commit(self):
318318
self.data.domain.metas + domain.attributes)
319319
data = Table.from_numpy(
320320
data_dom, self.data.X, self.data.Y,
321-
numpy.hstack((self.data.metas, transformed.X)))
321+
numpy.hstack((self.data.metas, transformed.X)),
322+
ids=self.data.ids)
322323

323324
self._pca_projector.component = self.ncomponents
324325
self.Outputs.transformed_data.send(transformed)

0 commit comments

Comments
 (0)