Skip to content

Commit

Permalink
Merge pull request #6337 from lanzagar/mds-optimize
Browse files Browse the repository at this point in the history
[FIX] MDS: Remove repeated updates at the end of optimization
  • Loading branch information
VesnaT authored Feb 24, 2023
2 parents b10335e + 7bce7f3 commit 5330c9f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Orange/widgets/unsupervised/owmds.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,7 @@ def on_partial_result(self, result: Result):
def on_done(self, result: Result):
assert isinstance(result.embedding, np.ndarray)
assert len(result.embedding) == len(self.effective_matrix)
self.embedding = result.embedding
self.graph.update_coordinates()
self.graph.update_density()
self.update_stress()
# embedding, graph and stress are already updated in on_partial_result
self.run_button.setText("Start")
self.step_button.setEnabled(True)
self.commit.deferred()
Expand Down

0 comments on commit 5330c9f

Please sign in to comment.