lift property

double lift
final

The lift of the rule.

Lift measures how much more likely the consequent is to be purchased when the antecedent is purchased, compared to its likelihood of being purchased independently. It is calculated as: confidence / support(consequent).

  • Lift > 1 suggests a positive correlation.
  • Lift = 1 suggests independence.
  • Lift < 1 suggests a negative correlation.

Implementation

final double lift;