{ "info": { "author": "Daniel Pettersson, Otto Nordander", "author_email": "svaante@gmail.com, otto.nordander@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "|Travis Status| |Coveralls Status| |CircleCI Status|\n\ndecision-tree-id3\n=================\n\ndecision-tree-id3 is a module created to derive decision trees using the\nID3 algorithm. It is written to be compatible with Scikit-learn's API\nusing the guidelines for Scikit-learn-contrib. It is licensed under the\n3-clause BSD license.\n\nImportant Links\n---------------\n\nHTML Documentation - https://svaante.github.io/decision-tree-id3\n\nInstallation\n------------\n\nDependencies\n~~~~~~~~~~~~\n\n- Python (>= 2.7 or >= 3.3)\n- NumPy (>= 1.6.1)\n- Scikit-learn (>= 0.17)\n\nThe package by itself comes with a single estimator Id3Estimator. To\ninstall the module:\n\n::\n\n pip install decision-tree-id3\n\nor clone the project using:\n\n::\n\n git clone https://github.com/svaante/decision-tree-id3.git\n cd decision-tree-id3\n python setup.py install\n\nUsage\n-----\n\nIf the installation is successful, you should be able to execute the\nfollowing in Python:\n\n.. code:: python\n\n >>> from sklearn.datasets import load_breast_cancer\n >>> from id3 import Id3Estimator\n >>> from id3 import export_graphviz\n\n >>> bunch = load_breast_cancer()\n >>> estimator = Id3Estimator()\n >>> estimator.fit(bunch.data, bunch.target)\n >>> export_graphviz(estimator.tree_, 'tree.dot', bunch.feature_names)\n\nAnd to generate a PDF of the decision tree using GraphViz:\n\n.. code:: shell\n\n dot -Tpdf tree.dot -o tree.pdf\n\nThere are a number of different default parameters to control the growth\nof the tree: - max\\_depth, the max depth of the tree. -\nmin\\_samples\\_split, the minimum number of samples in a split to be\nconsidered. - prune, if the tree should be post-pruned to avoid\noverfitting and cut down on size. - gain\\_ratio, if the algorithm should\nuse gain ratio when splitting the data. - min\\_entropy\\_decrease, the\nminimum decrease in entropy to consider a split. - is\\_repeating, repeat\nthe use of features.\n\nFor more in depth information see the documentation\nhttps://svaante.github.io/decision-tree-id3\n\n.. |Travis Status| image:: https://travis-ci.org/svaante/decision-tree-id3.svg?branch=master\n :target: https://travis-ci.org/svaante/decision-tree-id3\n.. |Coveralls Status| image:: https://coveralls.io/repos/svaante/decision-tree-id3/badge.svg?branch=master&service=github\n :target: https://coveralls.io/r/svaante/decision-tree-id3\n.. |CircleCI Status| image:: https://circleci.com/gh/svaante/decision-tree-id3.svg?style=shield&circle-token=:circle-token\n :target: https://circleci.com/gh/svaante/decision-tree-id3/tree/master\n", "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/svaante/decision-tree-id3", "keywords": null, "license": "new BSD", "maintainer": null, "maintainer_email": null, "name": "decision-tree-id3", "package_url": "https://pypi.org/project/decision-tree-id3/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/decision-tree-id3/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/svaante/decision-tree-id3" }, "release_url": "https://pypi.org/project/decision-tree-id3/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "A scikit-learn compatible package for id3 decision tree", "version": "0.1.2" }, "last_serial": 2885452, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "7a5c0f2cb59f5679562919201987a47f", "sha256": "903a77c50f4a15aa3ea6a0f55f588484decf89a211bccbbfac8c69ef648993f4" }, "downloads": -1, "filename": "decision-tree-id3-0.0.2.tar.gz", "has_sig": false, "md5_digest": "7a5c0f2cb59f5679562919201987a47f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11513, "upload_time": "2017-05-11T12:52:31", "url": "https://files.pythonhosted.org/packages/0b/1c/0570edb4fea63308ef84dde6953490b5b63ccfe7ac5ed82437f96735acdc/decision-tree-id3-0.0.2.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "44bfe5a3396b4f7de0d7d944759fc6db", "sha256": "60ff835c595cdb444cdd4f99f0f4bbd671fd1236259aceda13786f926c52c263" }, "downloads": -1, "filename": "decision-tree-id3-0.1.tar.gz", "has_sig": false, "md5_digest": "44bfe5a3396b4f7de0d7d944759fc6db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11440, "upload_time": "2017-05-12T13:36:30", "url": "https://files.pythonhosted.org/packages/7f/39/8e7820cdab9a2f5996b5384c6b0a061e8f30758e2eeef74c0b6869ae21d9/decision-tree-id3-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "28ebeeb0e042b96c69e855af632f31b3", "sha256": "9e909fba42dfd9506f94648b51bc6b01f2bde398be97c630c494677956a63fab" }, "downloads": -1, "filename": "decision-tree-id3-0.1.1.tar.gz", "has_sig": false, "md5_digest": "28ebeeb0e042b96c69e855af632f31b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12007, "upload_time": "2017-05-15T12:52:07", "url": "https://files.pythonhosted.org/packages/b2/6d/3b6ec31926f51a824590bacdff88f76abbdb83878faa35ff088bb2da0c6c/decision-tree-id3-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "2e5cb820b8b42e39afa817729c243142", "sha256": "78bf799b6a53c0db1f82d121574ca5067d29ee5c3bc1b98834c4df421f3bdcfc" }, "downloads": -1, "filename": "decision-tree-id3-0.1.2.tar.gz", "has_sig": false, "md5_digest": "2e5cb820b8b42e39afa817729c243142", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12946, "upload_time": "2017-05-19T12:13:00", "url": "https://files.pythonhosted.org/packages/53/60/9b51eb3b5096afa1fce2718f56c99f8e183162dae114c56592112ab54329/decision-tree-id3-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2e5cb820b8b42e39afa817729c243142", "sha256": "78bf799b6a53c0db1f82d121574ca5067d29ee5c3bc1b98834c4df421f3bdcfc" }, "downloads": -1, "filename": "decision-tree-id3-0.1.2.tar.gz", "has_sig": false, "md5_digest": "2e5cb820b8b42e39afa817729c243142", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12946, "upload_time": "2017-05-19T12:13:00", "url": "https://files.pythonhosted.org/packages/53/60/9b51eb3b5096afa1fce2718f56c99f8e183162dae114c56592112ab54329/decision-tree-id3-0.1.2.tar.gz" } ] }