# Frequent pattern growth
> Supported in: Batch
Frequent pattern (fp) growth finds frequent patterns in your dataset.
**Transform categories**: Aggregate, Other
## Declared arguments
* **Input dataset:** Source dataset containing items columns and transaction column.
*Table*
* **Items column:** Array column containing the items for the patterns.
*Column\>*
* **Minimum support:** Minimum fraction of how often a pattern needs to be present.
*Literal\*
## Examples
### Example 1: Base case
**Argument values:**
* **Input dataset:** ri.foundry.main.dataset.a
* **Items column:** `customer_attributes`
* **Minimum support:** 0.6
**Input:**
| customer\_attributes |
| ----- |
| \[ age\_group: 20-30, country: Germany, gender: Female ] |
| \[ age\_group: 20-30, country: Germany, gender: Male ] |
**Output:**
| pattern | pattern\_occurrence | total\_count |
| ----- | ----- | ----- |
| \[ country: Germany, age\_group: 20-30 ] | 2 | 2 |
| \[ age\_group: 20-30 ] | 2 | 2 |
| \[ country: Germany ] | 2 | 2 |
***
### Example 2: Null case
**Argument values:**
* **Input dataset:** ri.foundry.main.dataset.a
* **Items column:** `customer_attributes`
* **Minimum support:** 0.0
**Input:**
| customer\_attributes |
| ----- |
| *null* |
**Output:**
| pattern | pattern\_occurrence | total\_count |
| ----- | ----- | ----- |
***
### Example 3: Null case
**Argument values:**
* **Input dataset:** ri.foundry.main.dataset.a
* **Items column:** `customer_attributes`
* **Minimum support:** 0.0
**Input:**
| customer\_attributes |
| ----- |
| \[ age\_group: 20-30, country: Germany, gender: Female ] |
| \[ *null* ] |
**Output:**
| pattern | pattern\_occurrence | total\_count |
| ----- | ----- | ----- |
| \[ country: Germany ] | 1 | 2 |
| \[ country: Germany, age\_group: 20-30 ] | 1 | 2 |
| \[ *null* ] | 1 | 2 |
| \[ age\_group: 20-30 ] | 1 | 2 |
| \[ gender: Female ] | 1 | 2 |
| \[ gender: Female, country: Germany ] | 1 | 2 |
| \[ gender: Female, country: Germany, age\_group: 20-30 ] | 1 | 2 |
| \[ gender: Female, age\_group: 20-30 ] | 1 | 2 |
***
### Example 4: Edge case
**Argument values:**
* **Input dataset:** ri.foundry.main.dataset.a
* **Items column:** `customer_attributes`
* **Minimum support:** 0.0
**Input:**
| customer\_attributes |
| ----- |
| \[ age\_group: 20-30, country: Germany, gender: Female ] |
| \[ age\_group: 20-30, country: Germany, gender: Male ] |
**Output:**
| pattern | pattern\_occurrence | total\_count |
| ----- | ----- | ----- |
| \[ gender: Male ] | 1 | 2 |
| \[ gender: Male, country: Germany ] | 1 | 2 |
| \[ gender: Male, country: Germany, age\_group: 20-30 ] | 1 | 2 |
| \[ gender: Male, age\_group: 20-30 ] | 1 | 2 |
| \[ age\_group: 20-30 ] | 2 | 2 |
| \[ country: Germany ] | 2 | 2 |
| \[ country: Germany, age\_group: 20-30 ] | 2 | 2 |
| \[ gender: Female ] | 1 | 2 |
| \[ gender: Female, country: Germany ] | 1 | 2 |
| \[ gender: Female, country: Germany, age\_group: 20-30 ] | 1 | 2 |
| \[ gender: Female, age\_group: 20-30 ] | 1 | 2 |
***