code: def create_test_ruleset():
      p1 = Predicate(Feature("toto0"), Relation.LT, 0.1)
      p2 = Predicate(Feature("toto1"), Relation.EQ, "foo")
      p3 = Predicate(Feature("toto2"), Relation.EQ, False)
      p4 = Predicate(Feature("toto3"), Relation.GE, 1)
      c1 = Conjunction([p1, p3])
      c2 = Conjunction([p2, p4])
      c3 = Conjunction([p2, p3])
      c4 = Conjunction([p1, p2, p3, p4])
      ruleset = DnfRuleSet([c1, c2, c3, c4], then_part=1)
      return ruleset
  
file_path: AIX360/tests/rule_induction/trxf/utilities.py
imports: import numpy
  import pandas
  from aix360.algorithms.rule_induction.trxf.core import Predicate, Feature, Relation, Conjunction, DnfRuleSet
  from aix360.algorithms.rule_induction.trxf.pmml_export import models
  from aix360.algorithms.rule_induction.trxf.pmml_export.models import DataDictionary, DataField, OpType, DataType, MiningSchema, MiningField, MiningFieldUsageType, RuleSet, SimpleRule, CompoundPredicate, SimplePredicate, Operator, BooleanOperator
  from aix360.algorithms.rule_induction.trxf.pmml_export.models.data_dictionary import Value
label_desc: Use image node_id 4 for calling a global function with example usage: create_test_ruleset() and returns: ruleset