code: def test_string_labels_numpy_array():
      np.random.seed(123)
      clf1 = LogisticRegression(solver="liblinear", multi_class="ovr")
      clf2 = RandomForestClassifier(n_estimators=10)
      clf3 = GaussianNB()
      eclf = EnsembleVoteClassifier(
          clfs=[clf1, clf2, clf3], voting="hard"
      )
  
      y_str = y.copy()
      y_str = y_str.astype(str)
      y_str[:50] = "a"
      y_str[50:100] = "b"
      y_str[100:150] = "c"
  
      scores = cross_val_score(eclf, X, y_str, cv=5, scoring="accuracy")
      scores_mean = round(scores.mean(), 2)
      assert scores_mean == 0.94
  
imports: import random
  import numpy
  import pytest
  from packaging.version import Version
  from sklearn import __version__
  from sklearn import exceptions
  from sklearn.base import clone
  from sklearn.ensemble import RandomForestClassifier
  from sklearn.linear_model import LogisticRegression
  from sklearn.model_selection import GridSearchCV, cross_val_score
  from sklearn.naive_bayes import GaussianNB
  from sklearn.neighbors import KNeighborsClassifier
  from mlxtend.classifier import EnsembleVoteClassifier
  from mlxtend.data import iris_data
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 14 for calling a global function with example usage: test_string_labels_numpy_array() without return types