predicted_label : The label of the query sample, predicted by the majority voting rule
// Check if a single sample was passed down to the function. In this case the sample must be converted to a 2D array.
if query.ndim == 1:
query = np.atleast_2d(query)
n_samples = query.shape[0]
votes = np.zeros((n_samples, len(classifier_ensemble)))
for clf_index, clf in enumerate(classifier_ensemble):
votes[:, clf_index] = clf.predict(query)