yuhao yang created SPARK-19939:
----------------------------------
Summary: Add support for association rules in ML
Key: SPARK-19939
URL: https://issues.apache.org/jira/browse/SPARK-19939
Project: Spark
Issue Type: Improvement
Components: ML
Affects Versions: 2.2.0
Reporter: yuhao yang
Adding another essential characteristic for the Association Rule in Spark
ml.fpm.
Support is an indication of how frequently the itemset of an association rule
appears in the database and suggests if the rules are generally applicable to
the dateset. refer to [https://en.wikipedia.org/wiki/Association_rule_learning]
for more details.
Before adding support:
| rules | confidence |
| beer -> soda | 0.5 |
| pecan -> milk | 0.6 |
After adding support:
| rules | confidence | support |
| beer -> soda | 0.5 | 0.3 |
| pecan -> milk | 0.6 | 0.01 |
Thus to allow a better understanding for the generated association rules.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]