code: def model(opt):
      knr = KNeighborsClassifier(n_neighbors=opt["n_neighbors"])
      scores = cross_val_score(knr, X, y, cv=5)
      score = scores.mean()
  
      return score
  
file_path: Hyperactive/examples/optimization_techniques/ensemble_optimizer.py
imports: from sklearn.datasets import load_iris
  from sklearn.neighbors import KNeighborsClassifier
  from sklearn.model_selection import cross_val_score
  from sklearn.svm import SVR
  from sklearn.tree import DecisionTreeRegressor
  from sklearn.neural_network import MLPRegressor
  from hyperactive import Hyperactive
  from hyperactive.optimizers import EnsembleOptimizer
label_desc: Use image node_id 1 for calling a global function with example usage: model(opt) and returns: score