Question

Explain FP Tree Growth Algorithm with a suitable example.

07 Mar 2024
Answer :
Word Count : 558

The FP-Growth (Frequent Pattern Growth) algorithm is an efficient method for mining frequent itemsets without the need for candidate generation. It is especially useful in the context of association rule mining, where the goal is to discover patterns that frequently appear together in transactional datasets.

Steps in the FP-Growth Algorithm:

  1. Construct the FP-Tree:

    • Scan the dataset to find the frequency of each item.
    • Discard items that do not meet the minimum support threshold.
    • Sort items in descending order of their frequency.
    • Build the FP-Tree by inserting transactions into the tree. The transactions are ordered according to the frequency of items.
  2. Mine the FP-Tree for Frequent Patterns:

    • Starting from the least frequent item (bottom-up), recursively construct conditional FP-Trees (sub-trees) and extract frequent patterns by combining prefix paths.

Detailed Explanation with an Example:

Let's take a small dataset of transactions:

________ __________ ____ ____ ____ _____.
__________ _____ ____ ___ ________ _____ ___ ______ ____ _____ ___ ______.
______ __________ _________ ________ __________ _________ _____ __________ _______ _____.
________ ______ _____ ________ ________.
__________ ________ _____ ________ _________ _______ ________ _______.
_____ _______ ___ ______ ___ ________ ___ ___.
_______ __________ __________ ________ _______ ___ _______ __________ ____.
___ _________ _____ _____ _____ ____ ____ __________ ________.
_____ ________ _____ _________ __________ ___.
_______ ___ ____ ______ _______ _______.
____ ________ ________ _______ __________ ___ _______.
_______ _________ ________ ____ ____ _________ ________ _____ ____ __________ ________.
________ ___ ____ ______ _____.
___ _________ ________ ___ _________ ____ __________ _________ _____ _________ _______.
_____ ________ ___ _________ _____ _____ ___ _____.
______ ______ ________ ______ ______ ___ _____ ______ _____ __________ _____ __________.
_________ _________ __________ ______ ____ _____ __________ _____ ________ ____ _________.
______ _________ _____ _____ ____ ________.
______ __________ ____ _________ _______ _________ _______ _________ ______ ____.
__________ _______ ___ ______ ____ ______ ______.
_________ __________ ____ _______ ______ _______ ___.
_______ ____ _______ ______ __________.
_____ _______ ______ __________ _________ ________ _______.
____ __________ ______ ______ ______.
___ ________ ______ __________ _________ ___ _____.
_________ ____ ____ _______ __________ _________.
_____ __________ ____ __________ ____ ______.
_____ _______ ___ __________ _____ ___ ______ ___.
__________ _________ _______ ____ ____ __________ ____ _____ ________ _______.
_______ ____ _____ ______ _______ _______ ________.
_______ _______ ______ ___ ____ _____ ___ ____ _____ _______ ______.
_________ ________ ____ ______ ____ ______ ______.
_____ _____ _______ ________ ________ _______ ________ __________ ___.
____ _______ ______ __________ ______ _______ __________ ________ _________ _________.
_____ ______ ___ ______ ________ ________ _______ _______.
______ ____ ______ ______ ___ _______ __________ _____ ________ ____ __________ _________.
______ _______ _______ ________ __________ ____.
___ ______ ___ ________ __________ _________ ________.
__________ ______ _______ ___ __________ ______ __________ ___ ___ __________ _______.
____ ___ ____ _______ ________ ____ ________.
________ ___ ____ ___ __________ _______ ________ ________.
____ __________ _________ ___ ______ _____.
_______ _____ _______ ________ ________ _________.
_______ _____ _______ ________ _______ _____ _________.
__________ ___ _________ _______ ________ ___ ______ _________.
________ __________ ________ ______ ___.
________ ____ ________ ____ __________ ______ ______ ________ _______.
___ ____ _______ _________ __________ _______.
______ _________ __________ ________ _____ __________ _______ ____ __________ ________ ____.
____ _____ ________ _____ ______ _______ _________.
______ _____ ___ ____ ___ _______ ______ _________ ___ ________.
___.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top