'Map data instances when using random shuffling'

def test_row_indices(self):

    results = ShuffleSplit(self.iris, [NaiveBayesLearner()], store_data=True)
    self.send_signal(self.widget.Inputs.evaluation_results, results)
    self.widget.select_correct()
    selected = self.get_output(self.widget.Outputs.selected_data)
    correct = np.equal(results.actual, results.predicted)[0]
    correct_indices = results.row_indices[correct]
    self.assertSetEqual(set(self.iris[correct_indices].ids), set(selected.ids))
