{ "info": { "author": "Evan Dempsey", "author_email": "me@evandempsey.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: ISC License (ISCL)", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "===============================\r\nFP-Growth\r\n===============================\r\n\r\n.. image:: https://img.shields.io/pypi/v/pyfpgrowth.svg\r\n :target: https://pypi.python.org/pypi/pyfpgrowth\r\n\r\n.. image:: https://img.shields.io/travis/evandempsey/fp-growth.svg\r\n :target: https://travis-ci.org/evandempsey/fp-growth\r\n\r\n.. image:: https://readthedocs.org/projects/fp-growth/badge/?version=latest\r\n :target: https://readthedocs.org/projects/fp-growth/?badge=latest\r\n :alt: Documentation Status\r\n\r\n\r\nA Python implementation of the Frequent Pattern Growth algorithm.\r\n\r\n* Free software: ISC license\r\n* Documentation: https://fp-growth.readthedocs.org.\r\n\r\nGetting Started\r\n---------------\r\n\r\nYou can install the package with pip::\r\n\r\n pip install pyfpgrowth\r\n\r\nThen, to use it in a project, inport it and use the find_frequent_patterns and generate_association_rules functions::\r\n\r\n import pyfpgrowth\r\n\r\nIt is assumed that your transactions are a sequence of sequences representing items in baskets. The item IDs are integers::\r\n\r\n transactions = [[1, 2, 5],\r\n [2, 4],\r\n [2, 3],\r\n [1, 2, 4],\r\n [1, 3],\r\n [2, 3],\r\n [1, 3],\r\n [1, 2, 3, 5],\r\n [1, 2, 3]]\r\n\r\nUse find_frequent_patterns to find patterns in baskets that occur over the support threshold::\r\n\r\n patterns = pyfpgrowth.find_frequent_patterns(transactions, 2)\r\n\r\nUse generate_association_rules to find patterns that are associated with another with a certain minimum probability::\r\n\r\n rules = pyfpgrowth.generate_association_rules(patterns, 0.7)\r\n\r\nCredits\r\n---------\r\n\r\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\r\n\r\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\r\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\r\n\r\n\r\n=======\r\nHistory\r\n=======\r\n\r\n1.0 (2016-04-25)\r\n------------------\r\n\r\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/evandempsey/fp-growth", "keywords": "pyfpgrowth", "license": "ISCL", "maintainer": "", "maintainer_email": "", "name": "pyfpgrowth", "package_url": "https://pypi.org/project/pyfpgrowth/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyfpgrowth/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/evandempsey/fp-growth" }, "release_url": "https://pypi.org/project/pyfpgrowth/1.0/", "requires_dist": null, "requires_python": null, "summary": "A Python implementation of the Frequent Pattern Growth algorithm.", "version": "1.0" }, "last_serial": 2086906, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "44ceef99e55f3d8e4dd3b695b004c9bf", "sha256": "a3e5780385241d90d3ae5cabcca767eb65427b0a908014d42164b3ea8899f1d0" }, "downloads": -1, "filename": "pyfpgrowth-1.0.tar.gz", "has_sig": false, "md5_digest": "44ceef99e55f3d8e4dd3b695b004c9bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1641375, "upload_time": "2016-04-27T13:41:13", "url": "https://files.pythonhosted.org/packages/d2/4c/8b7cd90b4118ff0286d6584909b99e1ca5642bdc9072fa5a8dd361c864a0/pyfpgrowth-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "44ceef99e55f3d8e4dd3b695b004c9bf", "sha256": "a3e5780385241d90d3ae5cabcca767eb65427b0a908014d42164b3ea8899f1d0" }, "downloads": -1, "filename": "pyfpgrowth-1.0.tar.gz", "has_sig": false, "md5_digest": "44ceef99e55f3d8e4dd3b695b004c9bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1641375, "upload_time": "2016-04-27T13:41:13", "url": "https://files.pythonhosted.org/packages/d2/4c/8b7cd90b4118ff0286d6584909b99e1ca5642bdc9072fa5a8dd361c864a0/pyfpgrowth-1.0.tar.gz" } ] }