{ "info": { "author": "Yu Mochizuki", "author_email": "ymoch.dev@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Apyori\n======\n\n*Apyori* is a simple implementation of\nApriori algorithm with Python 2.7 and 3.3 - 3.5,\nprovided as APIs and as commandline interfaces.\n\n.. image:: https://travis-ci.org/ymoch/apyori.svg?branch=master\n :target: https://travis-ci.org/ymoch/apyori\n.. image:: https://coveralls.io/repos/github/ymoch/apyori/badge.svg?branch=master\n :target: https://coveralls.io/github/ymoch/apyori?branch=master\n\n\nModule Features\n---------------\n\n- Consisted of only one file and depends on no other libraries,\n which enable you to use it portably.\n- Able to used as APIs.\n\nApplication Features\n--------------------\n\n- Supports a JSON output format.\n- Supports a TSV output format for 2-items relations.\n\n\nInstallation\n------------\n\nChoose one from the following.\n\n- Put *apyori.py* into your project.\n- Run :code:`python setup.py install`.\n\n\nAPI Usage\n---------\n\nHere is a basic example:\n\n.. code-block:: python\n\n from apyori import apriori\n\n transactions = [\n ['beer', 'nuts'],\n ['beer', 'cheese'],\n ]\n results = list(apriori(transactions))\n\nFor more details, see *apyori.apriori* pydoc.\n\n\nCLI Usage\n---------\n\nFirst, prepare input data as tab-separated transactions.\n\n- Each item is separated with a tab.\n- Each transactions is separated with a line feed code.\n\nSecond, run the application.\nInput data is given as a standard input or file paths.\n\n- Run with :code:`python apyori.py` command.\n- If installed, you can also run with :code:`apyori-run` command.\n\nFor more details, use '-h' option.\n\n\n-------\nSamples\n-------\n\nBasic usage\n***********\n\n.. code-block:: shell\n\n apyori-run < data/integration_test_input_1.tsv\n\n\nUse TSV output\n**************\n\n.. code-block:: shell\n\n apyori-run -f tsv < data/integration_test_input_1.tsv\n\nFields of output mean:\n\n- Base item.\n- Appended item.\n- Support.\n- Confidence.\n- Lift.\n\n\nSpecify the minimum support\n***************************\n\n.. code-block:: shell\n\n apyori-run -s 0.5 < data/integration_test_input_1.tsv\n\n\nSpecify the minimum confidence\n******************************\n\n.. code-block:: shell\n\n apyori-run -c 0.5 < data/integration_test_input_1.tsv", "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/ymoch/apyori", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "apyori", "package_url": "https://pypi.org/project/apyori/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/apyori/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ymoch/apyori" }, "release_url": "https://pypi.org/project/apyori/1.1.1/", "requires_dist": null, "requires_python": null, "summary": "Simple Apriori algorithm Implementation.", "version": "1.1.1" }, "last_serial": 2057704, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "2db41437eee20cc87836dafa63ddfb01", "sha256": "9ce777f553e4acd6d5454c30c010441f3c615fcc03b927a8af1932a62ab5ee07" }, "downloads": -1, "filename": "apyori-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2db41437eee20cc87836dafa63ddfb01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8137, "upload_time": "2016-03-13T14:56:42", "url": "https://files.pythonhosted.org/packages/d7/a9/9fe7d9ef4d2f57c3391b6f71864afbf379d3b9614ad6fddc24de141bfe07/apyori-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "445fdf73f0df8eae23c2fde187ee0b30", "sha256": "228ede1975cd31606faf9ba85fc7d16f92970f11b54eb588df62778e2d911a86" }, "downloads": -1, "filename": "apyori-1.1.0.tar.gz", "has_sig": false, "md5_digest": "445fdf73f0df8eae23c2fde187ee0b30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8608, "upload_time": "2016-03-31T15:17:34", "url": "https://files.pythonhosted.org/packages/95/58/721ab4f96f4cd0ebe090e6425c798452673111d36ddea48dfc7154149e0f/apyori-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "21b7d75b819a2ec9a12d38e8d9a4b504", "sha256": "d13aa310a9b1ec464658f1fc62649626953c8737eebfa38d3ab342b3250f49ec" }, "downloads": -1, "filename": "apyori-1.1.1.tar.gz", "has_sig": false, "md5_digest": "21b7d75b819a2ec9a12d38e8d9a4b504", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8649, "upload_time": "2016-04-11T13:31:23", "url": "https://files.pythonhosted.org/packages/25/fd/0561e2dd29aeed544bad2d1991636e38700cdaef9530490b863741f35295/apyori-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21b7d75b819a2ec9a12d38e8d9a4b504", "sha256": "d13aa310a9b1ec464658f1fc62649626953c8737eebfa38d3ab342b3250f49ec" }, "downloads": -1, "filename": "apyori-1.1.1.tar.gz", "has_sig": false, "md5_digest": "21b7d75b819a2ec9a12d38e8d9a4b504", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8649, "upload_time": "2016-04-11T13:31:23", "url": "https://files.pythonhosted.org/packages/25/fd/0561e2dd29aeed544bad2d1991636e38700cdaef9530490b863741f35295/apyori-1.1.1.tar.gz" } ] }