From ce647852e6fb26bad421d6e3eb6b512acf2a4ea3 Mon Sep 17 00:00:00 2001
From: vanithakattumuri <134862983+vanithakattumuri@users.noreply.github.com>
Date: Thu, 24 Oct 2024 19:29:18 +0530
Subject: [PATCH] Created using Colab
---
.../basic/CFPGrowthPlus.ipynb | 285 ++++++++----------
1 file changed, 125 insertions(+), 160 deletions(-)
diff --git a/notebooks/multipleMinimumFrequentPatterns/basic/CFPGrowthPlus.ipynb b/notebooks/multipleMinimumFrequentPatterns/basic/CFPGrowthPlus.ipynb
index b18b5c9c..1528642a 100644
--- a/notebooks/multipleMinimumFrequentPatterns/basic/CFPGrowthPlus.ipynb
+++ b/notebooks/multipleMinimumFrequentPatterns/basic/CFPGrowthPlus.ipynb
@@ -7,7 +7,7 @@
"colab_type": "text"
},
"source": [
- ""
+ ""
]
},
{
@@ -69,7 +69,7 @@
"execution_count": 1,
"metadata": {
"id": "0FiJZo_JqiHg",
- "outputId": "0858686b-2cd9-47f0-e8b7-9cec03e25ef7",
+ "outputId": "94010138-ae91-4fe1-955d-3a676ca6caa6",
"colab": {
"base_uri": "https://localhost:8080/"
}
@@ -79,26 +79,20 @@
"output_type": "stream",
"name": "stdout",
"text": [
- "Collecting PAMI\n",
- " Downloading pami-2024.10.14.2-py3-none-any.whl.metadata (80 kB)\n",
- "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/80.3 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m80.3/80.3 kB\u001b[0m \u001b[31m2.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
- "\u001b[?25hRequirement already satisfied: psutil in /usr/local/lib/python3.10/dist-packages (from PAMI) (5.9.5)\n",
+ "Requirement already satisfied: PAMI in /usr/local/lib/python3.10/dist-packages (2024.10.24.2)\n",
+ "Requirement already satisfied: psutil in /usr/local/lib/python3.10/dist-packages (from PAMI) (5.9.5)\n",
"Requirement already satisfied: pandas in /usr/local/lib/python3.10/dist-packages (from PAMI) (2.2.2)\n",
"Requirement already satisfied: plotly in /usr/local/lib/python3.10/dist-packages (from PAMI) (5.24.1)\n",
"Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from PAMI) (3.7.1)\n",
- "Collecting resource (from PAMI)\n",
- " Downloading Resource-0.2.1-py2.py3-none-any.whl.metadata (478 bytes)\n",
- "Collecting validators (from PAMI)\n",
- " Downloading validators-0.34.0-py3-none-any.whl.metadata (3.8 kB)\n",
+ "Requirement already satisfied: resource in /usr/local/lib/python3.10/dist-packages (from PAMI) (0.2.1)\n",
+ "Requirement already satisfied: validators in /usr/local/lib/python3.10/dist-packages (from PAMI) (0.34.0)\n",
"Requirement already satisfied: urllib3 in /usr/local/lib/python3.10/dist-packages (from PAMI) (2.2.3)\n",
"Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from PAMI) (10.4.0)\n",
"Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from PAMI) (1.26.4)\n",
- "Requirement already satisfied: sphinx in /usr/local/lib/python3.10/dist-packages (from PAMI) (5.0.2)\n",
- "Collecting sphinx-rtd-theme (from PAMI)\n",
- " Downloading sphinx_rtd_theme-3.0.1-py2.py3-none-any.whl.metadata (4.4 kB)\n",
- "Collecting discord.py (from PAMI)\n",
- " Downloading discord.py-2.4.0-py3-none-any.whl.metadata (6.9 kB)\n",
- "Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from PAMI) (3.4)\n",
+ "Requirement already satisfied: sphinx in /usr/local/lib/python3.10/dist-packages (from PAMI) (8.1.3)\n",
+ "Requirement already satisfied: sphinx-rtd-theme in /usr/local/lib/python3.10/dist-packages (from PAMI) (3.0.1)\n",
+ "Requirement already satisfied: discord.py in /usr/local/lib/python3.10/dist-packages (from PAMI) (2.4.0)\n",
+ "Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from PAMI) (3.4.2)\n",
"Requirement already satisfied: deprecated in /usr/local/lib/python3.10/dist-packages (from PAMI) (1.2.14)\n",
"Requirement already satisfied: wrapt<2,>=1.10 in /usr/local/lib/python3.10/dist-packages (from deprecated->PAMI) (1.16.0)\n",
"Requirement already satisfied: aiohttp<4,>=3.7.4 in /usr/local/lib/python3.10/dist-packages (from discord.py->PAMI) (3.10.10)\n",
@@ -107,93 +101,49 @@
"Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->PAMI) (4.54.1)\n",
"Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->PAMI) (1.4.7)\n",
"Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->PAMI) (24.1)\n",
- "Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->PAMI) (3.1.4)\n",
+ "Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->PAMI) (3.2.0)\n",
"Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib->PAMI) (2.8.2)\n",
"Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas->PAMI) (2024.2)\n",
"Requirement already satisfied: tzdata>=2022.7 in /usr/local/lib/python3.10/dist-packages (from pandas->PAMI) (2024.2)\n",
"Requirement already satisfied: tenacity>=6.2.0 in /usr/local/lib/python3.10/dist-packages (from plotly->PAMI) (9.0.0)\n",
- "Collecting JsonForm>=0.0.2 (from resource->PAMI)\n",
- " Downloading JsonForm-0.0.2.tar.gz (2.4 kB)\n",
- " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
- "Collecting JsonSir>=0.0.2 (from resource->PAMI)\n",
- " Downloading JsonSir-0.0.2.tar.gz (2.2 kB)\n",
- " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
- "Collecting python-easyconfig>=0.1.0 (from resource->PAMI)\n",
- " Downloading Python_EasyConfig-0.1.7-py2.py3-none-any.whl.metadata (462 bytes)\n",
- "Requirement already satisfied: sphinxcontrib-applehelp in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.0.0)\n",
- "Requirement already satisfied: sphinxcontrib-devhelp in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.0.0)\n",
- "Requirement already satisfied: sphinxcontrib-jsmath in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (1.0.1)\n",
- "Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.1.0)\n",
- "Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.0.0)\n",
- "Requirement already satisfied: sphinxcontrib-qthelp in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.0.0)\n",
- "Requirement already satisfied: Jinja2>=2.3 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (3.1.4)\n",
- "Requirement already satisfied: Pygments>=2.0 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.18.0)\n",
- "Requirement already satisfied: docutils<0.19,>=0.14 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (0.18.1)\n",
- "Requirement already satisfied: snowballstemmer>=1.1 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.2.0)\n",
- "Requirement already satisfied: babel>=1.3 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.16.0)\n",
- "Requirement already satisfied: alabaster<0.8,>=0.7 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (0.7.16)\n",
- "Requirement already satisfied: imagesize in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (1.4.1)\n",
- "Requirement already satisfied: requests>=2.5.0 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.32.3)\n",
- "Collecting sphinx (from PAMI)\n",
- " Downloading sphinx-8.1.3-py3-none-any.whl.metadata (6.4 kB)\n",
- "Collecting sphinxcontrib-jquery<5,>=4 (from sphinx-rtd-theme->PAMI)\n",
- " Downloading sphinxcontrib_jquery-4.1-py2.py3-none-any.whl.metadata (2.6 kB)\n",
- "Collecting docutils<0.22,>0.18 (from sphinx-rtd-theme->PAMI)\n",
- " Downloading docutils-0.21.2-py3-none-any.whl.metadata (2.8 kB)\n",
+ "Requirement already satisfied: JsonForm>=0.0.2 in /usr/local/lib/python3.10/dist-packages (from resource->PAMI) (0.0.2)\n",
+ "Requirement already satisfied: JsonSir>=0.0.2 in /usr/local/lib/python3.10/dist-packages (from resource->PAMI) (0.0.2)\n",
+ "Requirement already satisfied: python-easyconfig>=0.1.0 in /usr/local/lib/python3.10/dist-packages (from resource->PAMI) (0.1.7)\n",
+ "Requirement already satisfied: sphinxcontrib-applehelp>=1.0.7 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.0.0)\n",
+ "Requirement already satisfied: sphinxcontrib-devhelp>=1.0.6 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.0.0)\n",
+ "Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.6 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.1.0)\n",
+ "Requirement already satisfied: sphinxcontrib-jsmath>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (1.0.1)\n",
+ "Requirement already satisfied: sphinxcontrib-qthelp>=1.0.6 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.0.0)\n",
+ "Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.9 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.0.0)\n",
+ "Requirement already satisfied: Jinja2>=3.1 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (3.1.4)\n",
+ "Requirement already satisfied: Pygments>=2.17 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.18.0)\n",
+ "Requirement already satisfied: docutils<0.22,>=0.20 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (0.21.2)\n",
+ "Requirement already satisfied: snowballstemmer>=2.2 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.2.0)\n",
+ "Requirement already satisfied: babel>=2.13 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.16.0)\n",
+ "Requirement already satisfied: alabaster>=0.7.14 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (0.7.16)\n",
+ "Requirement already satisfied: imagesize>=1.3 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (1.4.1)\n",
+ "Requirement already satisfied: requests>=2.30.0 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.32.3)\n",
"Requirement already satisfied: tomli>=2 in /usr/local/lib/python3.10/dist-packages (from sphinx->PAMI) (2.0.2)\n",
+ "Requirement already satisfied: sphinxcontrib-jquery<5,>=4 in /usr/local/lib/python3.10/dist-packages (from sphinx-rtd-theme->PAMI) (4.1)\n",
"Requirement already satisfied: aiohappyeyeballs>=2.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4,>=3.7.4->discord.py->PAMI) (2.4.3)\n",
"Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4,>=3.7.4->discord.py->PAMI) (1.3.1)\n",
"Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4,>=3.7.4->discord.py->PAMI) (24.2.0)\n",
"Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4,>=3.7.4->discord.py->PAMI) (1.4.1)\n",
"Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4,>=3.7.4->discord.py->PAMI) (6.1.0)\n",
- "Requirement already satisfied: yarl<2.0,>=1.12.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4,>=3.7.4->discord.py->PAMI) (1.14.0)\n",
+ "Requirement already satisfied: yarl<2.0,>=1.12.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4,>=3.7.4->discord.py->PAMI) (1.16.0)\n",
"Requirement already satisfied: async-timeout<5.0,>=4.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4,>=3.7.4->discord.py->PAMI) (4.0.3)\n",
- "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from Jinja2>=2.3->sphinx->PAMI) (3.0.1)\n",
+ "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from Jinja2>=3.1->sphinx->PAMI) (3.0.2)\n",
"Requirement already satisfied: jsonschema in /usr/local/lib/python3.10/dist-packages (from JsonForm>=0.0.2->resource->PAMI) (4.23.0)\n",
"Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib->PAMI) (1.16.0)\n",
"Requirement already satisfied: PyYAML in /usr/local/lib/python3.10/dist-packages (from python-easyconfig>=0.1.0->resource->PAMI) (6.0.2)\n",
- "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests>=2.5.0->sphinx->PAMI) (3.4.0)\n",
- "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests>=2.5.0->sphinx->PAMI) (3.10)\n",
- "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests>=2.5.0->sphinx->PAMI) (2024.8.30)\n",
+ "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests>=2.30.0->sphinx->PAMI) (3.4.0)\n",
+ "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests>=2.30.0->sphinx->PAMI) (3.10)\n",
+ "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests>=2.30.0->sphinx->PAMI) (2024.8.30)\n",
"Requirement already satisfied: typing-extensions>=4.1.0 in /usr/local/lib/python3.10/dist-packages (from multidict<7.0,>=4.5->aiohttp<4,>=3.7.4->discord.py->PAMI) (4.12.2)\n",
"Requirement already satisfied: propcache>=0.2.0 in /usr/local/lib/python3.10/dist-packages (from yarl<2.0,>=1.12.0->aiohttp<4,>=3.7.4->discord.py->PAMI) (0.2.0)\n",
"Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /usr/local/lib/python3.10/dist-packages (from jsonschema->JsonForm>=0.0.2->resource->PAMI) (2024.10.1)\n",
"Requirement already satisfied: referencing>=0.28.4 in /usr/local/lib/python3.10/dist-packages (from jsonschema->JsonForm>=0.0.2->resource->PAMI) (0.35.1)\n",
- "Requirement already satisfied: rpds-py>=0.7.1 in /usr/local/lib/python3.10/dist-packages (from jsonschema->JsonForm>=0.0.2->resource->PAMI) (0.20.0)\n",
- "Downloading pami-2024.10.14.2-py3-none-any.whl (1.1 MB)\n",
- "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.1/1.1 MB\u001b[0m \u001b[31m27.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
- "\u001b[?25hDownloading discord.py-2.4.0-py3-none-any.whl (1.1 MB)\n",
- "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.1/1.1 MB\u001b[0m \u001b[31m37.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
- "\u001b[?25hDownloading Resource-0.2.1-py2.py3-none-any.whl (25 kB)\n",
- "Downloading sphinx_rtd_theme-3.0.1-py2.py3-none-any.whl (7.7 MB)\n",
- "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.7/7.7 MB\u001b[0m \u001b[31m64.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
- "\u001b[?25hDownloading sphinx-8.1.3-py3-none-any.whl (3.5 MB)\n",
- "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.5/3.5 MB\u001b[0m \u001b[31m51.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
- "\u001b[?25hDownloading validators-0.34.0-py3-none-any.whl (43 kB)\n",
- "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m43.5/43.5 kB\u001b[0m \u001b[31m2.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
- "\u001b[?25hDownloading docutils-0.21.2-py3-none-any.whl (587 kB)\n",
- "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m587.4/587.4 kB\u001b[0m \u001b[31m30.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
- "\u001b[?25hDownloading Python_EasyConfig-0.1.7-py2.py3-none-any.whl (5.4 kB)\n",
- "Downloading sphinxcontrib_jquery-4.1-py2.py3-none-any.whl (121 kB)\n",
- "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m121.1/121.1 kB\u001b[0m \u001b[31m7.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
- "\u001b[?25hBuilding wheels for collected packages: JsonForm, JsonSir\n",
- " Building wheel for JsonForm (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
- " Created wheel for JsonForm: filename=JsonForm-0.0.2-py3-none-any.whl size=3311 sha256=364f0d2c4ca89bf01a1a39d09fe564d91eaaca62a55698afef8cd0077a3cedc3\n",
- " Stored in directory: /root/.cache/pip/wheels/b6/e5/87/11026246d3bd4ad67c0615682d2d6748bbd9a40ac0490882bd\n",
- " Building wheel for JsonSir (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
- " Created wheel for JsonSir: filename=JsonSir-0.0.2-py3-none-any.whl size=4752 sha256=e6e9584420f00aba23d7e82dc30a763cd3b886120f9476172df2ddc72d728db7\n",
- " Stored in directory: /root/.cache/pip/wheels/1d/4c/d3/4d9757425983b43eb709be1043d82cd03fb863ce5f56f117e6\n",
- "Successfully built JsonForm JsonSir\n",
- "Installing collected packages: JsonSir, validators, python-easyconfig, docutils, sphinx, sphinxcontrib-jquery, sphinx-rtd-theme, JsonForm, discord.py, resource, PAMI\n",
- " Attempting uninstall: docutils\n",
- " Found existing installation: docutils 0.18.1\n",
- " Uninstalling docutils-0.18.1:\n",
- " Successfully uninstalled docutils-0.18.1\n",
- " Attempting uninstall: sphinx\n",
- " Found existing installation: Sphinx 5.0.2\n",
- " Uninstalling Sphinx-5.0.2:\n",
- " Successfully uninstalled Sphinx-5.0.2\n",
- "Successfully installed JsonForm-0.0.2 JsonSir-0.0.2 PAMI-2024.10.14.2 discord.py-2.4.0 docutils-0.21.2 python-easyconfig-0.1.7 resource-0.2.1 sphinx-8.1.3 sphinx-rtd-theme-3.0.1 sphinxcontrib-jquery-4.1 validators-0.34.0\n"
+ "Requirement already satisfied: rpds-py>=0.7.1 in /usr/local/lib/python3.10/dist-packages (from jsonschema->JsonForm>=0.0.2->resource->PAMI) (0.20.0)\n"
]
}
],
@@ -218,7 +168,7 @@
"id": "b47437ab",
"metadata": {
"id": "b47437ab",
- "outputId": "160abe3b-6b30-4d03-9186-02461cccb3c1",
+ "outputId": "bfea8eb8-8e4d-45bd-c494-e73c94099cc7",
"colab": {
"base_uri": "https://localhost:8080/"
}
@@ -228,16 +178,16 @@
"output_type": "stream",
"name": "stdout",
"text": [
- "--2024-10-15 07:35:58-- https://u-aizu.ac.jp/~udayrage/datasets/transactionalDatabases/Transactional_T10I4D100K.csv\n",
- "Resolving u-aizu.ac.jp (u-aizu.ac.jp)... 150.95.161.176, 150.31.244.160\n",
- "Connecting to u-aizu.ac.jp (u-aizu.ac.jp)|150.95.161.176|:443... connected.\n",
+ "--2024-10-24 13:50:51-- https://u-aizu.ac.jp/~udayrage/datasets/transactionalDatabases/Transactional_T10I4D100K.csv\n",
+ "Resolving u-aizu.ac.jp (u-aizu.ac.jp)... 150.31.244.160, 150.95.161.176\n",
+ "Connecting to u-aizu.ac.jp (u-aizu.ac.jp)|150.31.244.160|:443... connected.\n",
"HTTP request sent, awaiting response... 200 OK\n",
"Length: 4019277 (3.8M) [text/csv]\n",
- "Saving to: ‘Transactional_T10I4D100K.csv’\n",
+ "Saving to: ‘Transactional_T10I4D100K.csv.1’\n",
"\n",
- "Transactional_T10I4 100%[===================>] 3.83M 1.26MB/s in 3.0s \n",
+ "Transactional_T10I4 100%[===================>] 3.83M 811KB/s in 4.8s \n",
"\n",
- "2024-10-15 07:36:02 (1.26 MB/s) - ‘Transactional_T10I4D100K.csv’ saved [4019277/4019277]\n",
+ "2024-10-24 13:50:57 (811 KB/s) - ‘Transactional_T10I4D100K.csv.1’ saved [4019277/4019277]\n",
"\n"
]
}
@@ -267,8 +217,8 @@
"source": [
"from PAMI.extras.calculateMISValues import usingBeta as ub\n",
"inputFile = \"Transactional_T10I4D100K.csv\"\n",
- "beta = 1.8\n",
- "LS = 500\n",
+ "beta = 0.1\n",
+ "LS = 400\n",
"sep = \"\\t\"\n",
"output = \"MIS_T10.txt\"\n",
"cd = ub.usingBeta(inputFile, beta, LS, sep)\n",
@@ -340,7 +290,7 @@
"id": "38ee53a6-d1fd-4266-8c8c-06662540657d",
"metadata": {
"id": "38ee53a6-d1fd-4266-8c8c-06662540657d",
- "outputId": "af9815ef-23c0-46f2-cbd7-e563b8519977",
+ "outputId": "142f7837-a8b5-49f0-a2c9-5702d3c4ce9d",
"colab": {
"base_uri": "https://localhost:8080/"
}
@@ -350,7 +300,7 @@
"output_type": "stream",
"name": "stdout",
"text": [
- "Frequent patterns were generated successfully using frequentPatternGrowth algorithm\n"
+ "Frequent patterns were generated successfully using Conditional Frequent Pattern Growth algorithm\n"
]
}
],
@@ -442,14 +392,14 @@
"colab": {
"base_uri": "https://localhost:8080/"
},
- "outputId": "ca49de9d-5d84-444a-b874-a2325627b0ef"
+ "outputId": "ae501175-9c52-4e70-db11-22f5c39310ae"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
- "Total No of patterns: 535\n"
+ "Total No of patterns: 1983\n"
]
}
],
@@ -476,14 +426,14 @@
"colab": {
"base_uri": "https://localhost:8080/"
},
- "outputId": "acb08538-3af3-4ea1-f0c3-ac120cb19fc5"
+ "outputId": "825854df-e85c-45c9-f4c1-1f74ec36032d"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
- "Runtime: 19.176114320755005\n"
+ "Runtime: 15.221588611602783\n"
]
}
],
@@ -510,15 +460,15 @@
"colab": {
"base_uri": "https://localhost:8080/"
},
- "outputId": "d5bb95f0-8c0a-401b-82f1-a22f5d5f4b94"
+ "outputId": "9b6d974f-930d-4d4f-a648-7767ef7a2323"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
- "Memory (RSS): 581443584\n",
- "Memory (USS): 527093760\n"
+ "Memory (RSS): 621088768\n",
+ "Memory (USS): 566169600\n"
]
}
],
@@ -610,7 +560,7 @@
},
{
"cell_type": "code",
- "execution_count": 22,
+ "execution_count": 13,
"metadata": {
"id": "z132gyB_qiHp"
},
@@ -618,7 +568,7 @@
"source": [
"inputFile = 'Transactional_T10I4D100K.csv'\n",
"seperator='\\t'\n",
- "betaList = [0.1, 0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1]\n",
+ "betaList = [0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1]\n",
"\n",
"result = pd.DataFrame(columns=['algorithm', 'minSup', 'patterns', 'runtime', 'memory'])\n",
"#initialize a data frame to store the results of CFPGrowthPlus algorithm"
@@ -638,29 +588,29 @@
},
{
"cell_type": "code",
- "execution_count": 23,
+ "execution_count": 14,
"metadata": {
"id": "G8qrwb_2qiHp",
"colab": {
"base_uri": "https://localhost:8080/"
},
- "outputId": "8a5aff6e-af21-4c11-c561-b30dab553696"
+ "outputId": "c12cf52c-fcd4-43d2-b1b6-ab48192b094d"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
- "Frequent patterns were generated successfully using frequentPatternGrowth algorithm\n",
- "Frequent patterns were generated successfully using frequentPatternGrowth algorithm\n",
- "Frequent patterns were generated successfully using frequentPatternGrowth algorithm\n",
- "Frequent patterns were generated successfully using frequentPatternGrowth algorithm\n",
- "Frequent patterns were generated successfully using frequentPatternGrowth algorithm\n",
- "Frequent patterns were generated successfully using frequentPatternGrowth algorithm\n",
- "Frequent patterns were generated successfully using frequentPatternGrowth algorithm\n",
- "Frequent patterns were generated successfully using frequentPatternGrowth algorithm\n",
- "Frequent patterns were generated successfully using frequentPatternGrowth algorithm\n",
- "Frequent patterns were generated successfully using frequentPatternGrowth algorithm\n"
+ "Frequent patterns were generated successfully using Conditional Frequent Pattern Growth algorithm\n",
+ "Frequent patterns were generated successfully using Conditional Frequent Pattern Growth algorithm\n",
+ "Frequent patterns were generated successfully using Conditional Frequent Pattern Growth algorithm\n",
+ "Frequent patterns were generated successfully using Conditional Frequent Pattern Growth algorithm\n",
+ "Frequent patterns were generated successfully using Conditional Frequent Pattern Growth algorithm\n",
+ "Frequent patterns were generated successfully using Conditional Frequent Pattern Growth algorithm\n",
+ "Frequent patterns were generated successfully using Conditional Frequent Pattern Growth algorithm\n",
+ "Frequent patterns were generated successfully using Conditional Frequent Pattern Growth algorithm\n",
+ "Frequent patterns were generated successfully using Conditional Frequent Pattern Growth algorithm\n",
+ "Frequent patterns were generated successfully using Conditional Frequent Pattern Growth algorithm\n"
]
}
],
@@ -684,13 +634,13 @@
},
{
"cell_type": "code",
- "execution_count": 24,
+ "execution_count": 15,
"metadata": {
"id": "fdxVkrU-qiHq",
"colab": {
"base_uri": "https://localhost:8080/"
},
- "outputId": "4888eb8c-70bf-4025-d92a-bc35944b3f84"
+ "outputId": "f1ee1b3f-9af6-4e28-f40f-e18b7197d0c3"
},
"outputs": [
{
@@ -698,16 +648,16 @@
"name": "stdout",
"text": [
" algorithm minSup patterns runtime memory\n",
- "0 CFPGrowthPlus 0.1 936 14.058609 711897088\n",
- "1 CFPGrowthPlus 0.2 936 16.360479 712052736\n",
- "2 CFPGrowthPlus 0.3 936 15.058426 714321920\n",
- "3 CFPGrowthPlus 0.4 936 15.264088 714047488\n",
- "4 CFPGrowthPlus 0.5 936 14.016433 714207232\n",
- "5 CFPGrowthPlus 0.6 936 14.029211 714731520\n",
- "6 CFPGrowthPlus 0.7 936 15.059381 714715136\n",
- "7 CFPGrowthPlus 0.8 936 16.258358 714452992\n",
- "8 CFPGrowthPlus 0.9 936 14.137519 714670080\n",
- "9 CFPGrowthPlus 1.0 936 14.508618 714526720\n"
+ "0 CFPGrowthPlus 0.1 22827 21.847227 664973312\n",
+ "1 CFPGrowthPlus 0.2 14423 23.350201 660336640\n",
+ "2 CFPGrowthPlus 0.3 9883 20.530882 658436096\n",
+ "3 CFPGrowthPlus 0.4 7005 18.136225 661266432\n",
+ "4 CFPGrowthPlus 0.5 4947 19.230281 657379328\n",
+ "5 CFPGrowthPlus 0.6 3581 18.778890 657174528\n",
+ "6 CFPGrowthPlus 0.7 2814 20.005580 659423232\n",
+ "7 CFPGrowthPlus 0.8 2166 19.727741 659677184\n",
+ "8 CFPGrowthPlus 0.9 1475 18.775949 655007744\n",
+ "9 CFPGrowthPlus 1.0 798 20.039713 655163392\n"
]
}
],
@@ -740,7 +690,7 @@
},
{
"cell_type": "code",
- "execution_count": 25,
+ "execution_count": 16,
"metadata": {
"id": "BG2czf9XqiHq"
},
@@ -770,7 +720,7 @@
"base_uri": "https://localhost:8080/",
"height": 1000
},
- "outputId": "5ef4ab11-c814-4e5c-c488-81f4d10af5d9"
+ "outputId": "4bd37be3-f32e-47c4-cef0-5806b599c874"
},
"outputs": [
{
@@ -779,7 +729,7 @@
"text/plain": [
"