'Set the input train dataset.'

@Inputs.data
def set_dataset(self, data):

    for id in list(self.results):
        self.results[id] = None
    for id in list(self.curves):
        self.curves[id] = None
    self.data = data
    if (data is not None):
        self.infoa.setText(('%d    instances    in    input    data    set' % len(data)))
    else:
        self.infoa.setText('No    data    on    input.')
    self.commitBtn.setEnabled((self.data is not None))
