Association Rule Mining - Apriori

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024
  • Association Rule Mining using Apriori
    Good for Market-Basket Analysis
    Update:
    The package has been updated, if there is an error on your part refer to the information below:
    The parameter num_itemsets is now required.
    For Case Number 01 of Apriori:
    rules = association_rules(frequent_itemsets, num_itemsets = len(transaction_df), metric = "confidence", min_threshold = 0.7)
    For Case Number 02 of Apriori:
    rules = association_rules(frequent_itemsets, num_itemsets = len(transaction_df), metric = "confidence", min_threshold = 0.8)

Комментарии •