We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f464a6 + eb1555a commit efb18b6Copy full SHA for efb18b6
Orange/widgets/unsupervised/owkmeans.py
@@ -266,7 +266,7 @@ def show_results(self):
266
score_span = (best_score - worst_score) or 1
267
max_score = max(scores)
268
nplaces = min(5, np.floor(abs(math.log(max(max_score, 1e-10)))) + 2)
269
- fmt = "{{:.{}f}}".format(nplaces)
+ fmt = "{{:.{}f}}".format(int(nplaces))
270
model = self.table_model
271
model.setRowCount(len(k_scores))
272
for i, (k, score) in enumerate(k_scores):
0 commit comments