"print(f\"Execution time for FP Growth: {execution_time} seconds\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## ***4.4. Results***"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"> **As we can notice, `FP Growth` is much faster than `Apriori` ***(about 5 times faster!)***.** \n",
"> **This is because `FP Growth` requires access the dataset multiple times to find repeated groups, when `Apriori` constructs the tree from the beginning and then don't access dataset again (working only with tree)**"