code: def model(opt):
      gbr = GradientBoostingClassifier(
          n_estimators=opt["n_estimators"],
          max_depth=opt["max_depth"],
          min_samples_split=opt["min_samples_split"],
          min_samples_leaf=opt["min_samples_leaf"],
          criterion=opt["criterion"],
      )
      scores = cross_val_score(gbr, X, y, cv=4)
  
      return scores.mean()
  
imports: import numpy
  from sklearn.model_selection import cross_val_score
  from sklearn.ensemble import GradientBoostingClassifier
  from sklearn.datasets import load_wine
  from hyperactive import Hyperactive
label_desc: Use image node_id 1 for calling a global function with example usage: model(opt) and returns: scores