code: def __init__(self, antecedent, concequent, confidence, support):
      self.antecedent = antecedent
      self.concequent = concequent
      self.confidence = confidence
      self.support = support
  
file_path: ML-From-Scratch/mlfromscratch/unsupervised_learning/apriori.py
imports: from __future__ import division, print_function
  import numpy
  import itertools
label_desc: Use image node_id 1 to create a new Rule object  with example: obj = Rule(antecedent, concequent, confidence, support)