code: def run(X_train, X_test, y_train, y_test, model):
      """Train model and predict result"""
      model.fit(X_train, y_train)
      score = model.score(X_test, y_test)
      LOG.debug("score: %s", score)
      nni.report_final_result(score)
  
file_path: nni/examples/trials/sklearn/classification/main.py
imports: import nni
  from sklearn.model_selection import train_test_split
  from sklearn.datasets import load_digits
  from sklearn.preprocessing import StandardScaler
  from sklearn.svm import SVC
  import logging
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: run(X_train, X_test, y_train, y_test, model) without return types