code: def findPrediction(row: pd.Series) -> int:
      """
      Make prediction for an instance with a built adaboost model
      Args:
          row (pd.Series): row of a pandas dataframe
      Returns
          prediction (int)
      """
      epoch = row["Epoch"]
      row = row.drop(labels=["Epoch"])
      columns = row.shape[0]
  
      params = []
      for j in range(0, columns - 1):
          params.append(row[j])
  
      module_name = f"outputs/rules/rules_{int(epoch)}"
      myrules = load_module(module_name)
  
      prediction = functions.sign(myrules.findDecision(params))
  
      return prediction
  
file_path: chefboost/chefboost/tuning/adaboost.py
imports: import math
  from typing import Optional
  import pandas
  import numpy
  from tqdm import tqdm
  from chefboost.commons import functions
  from chefboost.training import Training
  from chefboost.commons.logger import Logger
  from chefboost.commons.module import load_module
label_desc: Use image node_id 1 for calling a global function with example usage: findPrediction(row) and returns: prediction