Treat the input as labels and use the end_index_list to produce
labels using voting. Note that here, X contains the label and no y is accepted.
Parameters
X ([type]) – X is actually the labels from the previous component in a pipeline.
end_index_list ([type], optional) – For each output label to be produced, end_index_list is supposed to contain
the index of the last element corresponding to the original input.