我目前正在使用Spark 2.4中实现的篮子分析算法,称为FP-Growth。当我显示关联规则时,我看到它们有 4 列:antecedent、consequent、confidence和lift。我的问题是我不明白升降柱是什么意思。有人能帮我吗?
我在这里添加一些示例数据:
+-----------------+-----------------+-------------------+------------------+
|antecedent |consequent |confidence |lift |
+-----------------+-----------------+-------------------+------------------+
|[Water, Bread] |[Chocolate] |0.5555517002081888 |1.8312030635778151|
|[Bananas, Bread] |[Chips] |0.4279642895327702 |1.8312030635778147|
|[Bread, Whisky] |[Chips] |0.30338071798697663|1.0 |
|[Bread, Apples] |[Water] |0.23370662601263412|1.0 |
|[Bread] |[Water] |0.17278234144521842|1.0 |
+-----------------+-----------------+-------------------+------------------+
链接到 Spark FP-Growth 文档:https ://spark.apache.org/docs/latest/ml-frequent-pattern-mining.html
非常感谢