code: def train_semisupervised(X_train, y_train):
      model = XGBOD(estimator_list=[ECOD()])
      model.fit(X_train, y_train)
      return model
  
imports: from pyod.models.ecod import ECOD
  from pyod.models.xgbod import XGBOD
  from catboost import CatBoostClassifier
label_desc: Use image node_id 2 for calling a global function with example usage: train_semisupervised(X_train, y_train) and returns: model