code: def _convert_to_pmml_predicate(trxf_conjunction: Conjunction):
      trxf_to_pmml_op = {
          Relation.EQ: Operator.equal,
          Relation.NEQ: Operator.notEqual,
          Relation.LT: Operator.lessThan,
          Relation.LE: Operator.lessOrEqual,
          Relation.GT: Operator.greaterThan,
          Relation.GE: Operator.greaterOrEqual,
      }
      simple_predicates = [
          SimplePredicate(
              operator=trxf_to_pmml_op[trxf_predicate.relation],
              value=str(trxf_predicate.value),
              field=str(trxf_predicate.feature.variable_names[0]),
          )
          for trxf_predicate in trxf_conjunction.predicates
      ]
      return CompoundPredicate(
          simplePredicates=simple_predicates,
          booleanOperator=BooleanOperator.and_,
      )
  
file_path: AIX360/aix360/algorithms/rule_induction/trxf/pmml_export/reader/trxf_reader.py
imports: from typing import Dict
  import numpy
  import pandas
  from aix360.algorithms.rule_induction.trxf.classifier import ruleset_classifier
  from aix360.algorithms.rule_induction.trxf.classifier.ruleset_classifier import RuleSetClassifier
  from aix360.algorithms.rule_induction.trxf.core import Conjunction, Relation
  from aix360.algorithms.rule_induction.trxf.pmml_export import models
  from aix360.algorithms.rule_induction.trxf.pmml_export.models.data_dictionary import Value
  from aix360.algorithms.rule_induction.trxf.pmml_export.reader import AbstractReader
  from aix360.algorithms.rule_induction.trxf.pmml_export.models import SimplePredicate, Operator, CompoundPredicate, BooleanOperator
label_desc: Use image node_id 2 for calling a global function with example usage: _convert_to_pmml_predicate(trxf_conjunction) and returns: CompoundPredicate