Skip to content

Commit

Permalink
owtsne: remove _get_projection_data; updated in parent
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlin-policar committed Sep 22, 2023
1 parent 64294a9 commit c82f9bd
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions Orange/widgets/unsupervised/owtsne.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,27 +966,6 @@ def on_done(self, task):

self.commit.deferred()

def _get_projection_data(self):
if self.data is None:
return None

data = self.data.transform(
Domain(
self.data.domain.attributes,
self.data.domain.class_vars,
self.data.domain.metas + self._get_projection_variables()
)
)
with data.unlocked(data.metas):
data.metas[:, -2:] = self.get_embedding()
if self.tsne_embedding is not None:
data.domain = Domain(
self.data.domain.attributes,
self.data.domain.class_vars,
self.data.domain.metas + self.tsne_embedding.domain.attributes,
)
return data

def cancel(self):
self.run_button.setText("Start")
super().cancel()
Expand Down

0 comments on commit c82f9bd

Please sign in to comment.