'Output data instances corresponding to selected cells'

def commit(self):

    if ((self.results is not None) and (self.data is not None) and self.selected_learner):
        (data, annotated_data) = self._prepare_data()
    else:
        data = None
        annotated_data = None
    self.Outputs.selected_data.send(data)
    self.Outputs.annotated_data.send(annotated_data)
