code: def _filter(self, data):
      if not self.threshold:
          return data
  
      return data[
          (data["label"] == data["pred"])
          & (data["prob"] >= self.threshold)
      ].sort_values(["label", "pred"], ascending=[True, False])
  
file_path: nlpaug/nlpaug/model/lang_models/lambada.py
imports: import pandas
  import json
  import os
  from nlpaug.model.lang_models import LanguageModels
label_desc: Use image node_id 6 for calling the Lambada obj's underlying member method code with example usage: obj._filter(data) and returns: data, data