shown = self.selectedMeasures.get(measure.name, False)
index = self.measures.index(measure)
if all(s is None for s in self.measure_scores[index]) and shown:
measuresMask = [m == measure for m in self.measures]
else:
measuresMask = [False] * len(self.measures)
self.updateScores(measuresMask)
After Change
self.selectedMeasures[measure.name] = not checked
if not checked:
self.selected_checks.add(measure.name)
elif measure.name in self.selected_checks:
self.selected_checks.remove(measure.name)
measures_mask = [False] * len(self.measures)
measures_mask += [False for _ in self.learners]
// Update scores for shown column if they are not yet computed.
if measure in self.measures and self.measure_scores: