code: def predict_binary_logodds(model: Booster, data):
      preds = logodds(
          model.predict(data).clip(  # type: ignore
              _LIGHTGBM_PROB_THRESHOLD, 1.0 - _LIGHTGBM_PROB_THRESHOLD
          )
      )
      return preds
  
file_path: miceforest/miceforest/builtin_pred_funcs.py
imports: from .utils import logodds
  from lightgbm import Booster
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: predict_binary_logodds(model, data) and returns: preds