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