{ "info": { "author": "Miles Granger ", "author_email": "Miles Granger ", "bugtrack_url": null, "classifiers": [], "description": "# pyrus-decision-tree\nDecision Tree written in Rust, with Python bindings\n\n## Extremely _slow_ Decision Tree written in Rust \n\nHave you found yourself yerning for a _slower_ version of Scikit-Learn's\n`DecisionTreeClassifier` with less features? \n\nYou've come to the right place.\n\nThis was a weekend project and I've botched the implementation somewhere,\nprobably in the splitter logic for tree nodes, so while it's written\nentirely in Rust and requires no dependencies; it manages to do a lot\nof inefficient logic, very quickly.\n\nOn a handful of testing data, with equivelent parameters, it yields \nthe same results, only much, much slower. \n\n*This is currently the first release and the tree only implements \nthe `scikit-learn` API's `fit(X, y)` and `predict(X)` methods as of now, \nand only as a classifier (no regression tree yet)*\n\n\nMaybe I'll get back to fixing it, maybe not. \n\n\n---\n\n#### Install:\n`pip install --upgrade pyrus-decision-tree`\n\n#### Uninstall:\n`pip uninstall pyrus-decision-tree`\n\n---\n\n#### Use:\n```python\nfrom pyrus_decision_tree import PyrusDecisionTree\n\ndataset = [[2.771244718, 1.7847839292],\n [1.728571309, 1.1697614132],\n [3.678319846, 2.812813571],\n [3.961043357, 2.619950321],\n [2.999208922, 2.209014212],\n [7.497545867, 3.162953546],\n [9.00220326, 3.339047188],\n [7.444542326, 0.476683375],\n [10.12493903, 3.234550982],\n [6.642287351, 3.319983761]]\ntargets = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1]\n\nclf = PyrusDecisionTree(5)\nclf.fit(dataset, targets)\npredictions = clf.predict(dataset)\n```\n", "description_content_type": "text/markdown; charset=UTF-8; variant=GFM", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "machine learning decision tree data science", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyrus-decision-tree", "package_url": "https://pypi.org/project/pyrus-decision-tree/", "platform": "", "project_url": "https://pypi.org/project/pyrus-decision-tree/", "project_urls": null, "release_url": "https://pypi.org/project/pyrus-decision-tree/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.1.1" }, "last_serial": 4746417, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d3f0ba43ad0ffc202b740af7ce39ec04", "sha256": "e64eb76ce772ba426185b0fb6c386cf986298d166823bd9165a4acc674211800" }, "downloads": -1, "filename": "pyrus_decision_tree-0.1.0-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "d3f0ba43ad0ffc202b740af7ce39ec04", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 2011943, "upload_time": "2019-01-27T10:04:50", "url": "https://files.pythonhosted.org/packages/2c/94/758dacd874ff553440fc677785aa24931042212a862daff5d3925e179f27/pyrus_decision_tree-0.1.0-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "9846d97dba86146038767d479f84de84", "sha256": "46cdfbd7b6a2d9aee3210ee453871e68a2fe99e4c174bcdf112f8a3b9516cf90" }, "downloads": -1, "filename": "pyrus_decision_tree-0.1.0-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "9846d97dba86146038767d479f84de84", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 1998582, "upload_time": "2019-01-27T10:04:56", "url": "https://files.pythonhosted.org/packages/3e/24/e1e4fdc4c30736525c4049939a5a0637b934003c599805611e8e0ef7fd12/pyrus_decision_tree-0.1.0-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "25bce53e6727dc02754a128e73d8dd4c", "sha256": "0650b233e8a0fcc656475f96b2f0d0fedb00ae42a736889e63f527641431addf" }, "downloads": -1, "filename": "pyrus_decision_tree-0.1.0-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "25bce53e6727dc02754a128e73d8dd4c", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 1999168, "upload_time": "2019-01-27T10:05:02", "url": "https://files.pythonhosted.org/packages/36/7d/4eb9eebdb416e42488ab5f1fab09a39daa42b114e0bf60be9fd1a751c12c/pyrus_decision_tree-0.1.0-cp37-cp37m-manylinux1_x86_64.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a15162e1d143d33a7fa011eca6840f8f", "sha256": "601c5b722f31f71c6d0c0b42422861476446752a925884070be17ea83568c150" }, "downloads": -1, "filename": "pyrus_decision_tree-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "a15162e1d143d33a7fa011eca6840f8f", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 2921143, "upload_time": "2019-01-27T15:59:05", "url": "https://files.pythonhosted.org/packages/49/70/05d8e6023641e07f4edeb6bf2ff43db34358b3ad65f30f5122f16684f309/pyrus_decision_tree-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "0c1f2b1cadac539cc4005c13c3976dfa", "sha256": "2de7925192193403337d48fb4fc7d81fbb619834f31e769ee30345efecd577c6" }, "downloads": -1, "filename": "pyrus_decision_tree-0.1.1-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "0c1f2b1cadac539cc4005c13c3976dfa", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 2902327, "upload_time": "2019-01-27T15:59:12", "url": "https://files.pythonhosted.org/packages/89/bf/f928b6497c8d534274fa0ab2685d3516c1804e5c8e18bbe964205a42242d/pyrus_decision_tree-0.1.1-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "4ae2688d2cede4d5959bb2d50d3427f1", "sha256": "6a74913d3b04e02add68d5585508b112606668387741884a94981ae552b7e43a" }, "downloads": -1, "filename": "pyrus_decision_tree-0.1.1-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "4ae2688d2cede4d5959bb2d50d3427f1", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 2903353, "upload_time": "2019-01-27T15:59:18", "url": "https://files.pythonhosted.org/packages/83/ed/dd5d5efb0de9b35fcd7fa9722f2674056ff72738fd4d9e04a44215165381/pyrus_decision_tree-0.1.1-cp37-cp37m-manylinux1_x86_64.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a15162e1d143d33a7fa011eca6840f8f", "sha256": "601c5b722f31f71c6d0c0b42422861476446752a925884070be17ea83568c150" }, "downloads": -1, "filename": "pyrus_decision_tree-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "a15162e1d143d33a7fa011eca6840f8f", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 2921143, "upload_time": "2019-01-27T15:59:05", "url": "https://files.pythonhosted.org/packages/49/70/05d8e6023641e07f4edeb6bf2ff43db34358b3ad65f30f5122f16684f309/pyrus_decision_tree-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "0c1f2b1cadac539cc4005c13c3976dfa", "sha256": "2de7925192193403337d48fb4fc7d81fbb619834f31e769ee30345efecd577c6" }, "downloads": -1, "filename": "pyrus_decision_tree-0.1.1-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "0c1f2b1cadac539cc4005c13c3976dfa", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 2902327, "upload_time": "2019-01-27T15:59:12", "url": "https://files.pythonhosted.org/packages/89/bf/f928b6497c8d534274fa0ab2685d3516c1804e5c8e18bbe964205a42242d/pyrus_decision_tree-0.1.1-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "4ae2688d2cede4d5959bb2d50d3427f1", "sha256": "6a74913d3b04e02add68d5585508b112606668387741884a94981ae552b7e43a" }, "downloads": -1, "filename": "pyrus_decision_tree-0.1.1-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "4ae2688d2cede4d5959bb2d50d3427f1", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 2903353, "upload_time": "2019-01-27T15:59:18", "url": "https://files.pythonhosted.org/packages/83/ed/dd5d5efb0de9b35fcd7fa9722f2674056ff72738fd4d9e04a44215165381/pyrus_decision_tree-0.1.1-cp37-cp37m-manylinux1_x86_64.whl" } ] }