{ "info": { "author": "Dong", "author_email": "dongyuncheng1991@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# mlgorithms\n\nMachine learning libraries implemented entirely in python. Updating...\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. \n\n### Prerequisites\n\n* [Python 3.6](https://www.python.org/downloads/)\n\n### Installing\n\n#### Method 1\nClone the project locally and enter the project folder.\n\n```\npip install .\n```\n\n#### Method 2\nWe have also deployed the project to [PyPI](https://pypi.org/project/mlgorithms/), and you can install it anytime, anywhere through the following instruction.\n\n```\npip install mlgorithms\n```\n\n\n## Running the tests\n\nIf you install successfully, below is the test code for ID3.\n\n```\nfrom mlgorithms.ID3 import ID3\n\nX = [[1,1],[1,1],[1,0],[0,1],[0,1]]\ny = ['yes', 'yes', 'no', 'no', 'no']\nfeatures_name = ['f1', 'f2']\nmodel = ID3(features_name=features_name)\nbuilt_tree = model.fit(X, y)\nprint(model.predict(built_tree, [[1,0]]))\n```\n\nThen you can save and load the built tree through the following code.\n\n```\nmodel.save_built_tree('built_tree.m', built_tree)\nload_tree = model.load_built_tree('built_tree.m')\n```\n\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/doycode/mlgorithms/tags). \n\n## Authors\n\n* **Yuncheng Dong**\n* **Email**: dongyuncheng1991@gmail.com\n\n## License\n\nThis project is licensed under the Apache 2.0 License - see the [LICENSE.md](https://github.com/doycode/mlgorithms/blob/master/LICENSE) file for details.\n\n## Acknowledgments\n\n* Peter Harrington\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/doycode/mlgorithms.git", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "mlgorithms", "package_url": "https://pypi.org/project/mlgorithms/", "platform": "", "project_url": "https://pypi.org/project/mlgorithms/", "project_urls": { "Homepage": "https://github.com/doycode/mlgorithms.git" }, "release_url": "https://pypi.org/project/mlgorithms/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "Machine Learning Lib.", "version": "0.0.4" }, "last_serial": 5791188, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "186741f6b39b71fe3e6230b345812187", "sha256": "d5a86bb432d7d2236c9cf4c04715396e51db0f976152586c81aa63fe61c782b8" }, "downloads": -1, "filename": "mlgorithms-0.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "186741f6b39b71fe3e6230b345812187", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9417, "upload_time": "2019-08-08T03:04:22", "url": "https://files.pythonhosted.org/packages/ea/3d/7b711b5d11481bbb79ee0c67e0c12cacd4ef53f23a1469b73777ff530f61/mlgorithms-0.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3cf9567c51771ccd8b205a24e88a49cd", "sha256": "728dfb48d7e7df04b752bebf5ec173338f4f45b196d8be7478a5b5bd14712248" }, "downloads": -1, "filename": "mlgorithms-0.0.0.tar.gz", "has_sig": false, "md5_digest": "3cf9567c51771ccd8b205a24e88a49cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4170, "upload_time": "2019-08-08T03:04:25", "url": "https://files.pythonhosted.org/packages/7f/a5/706e384aacbc80579483f1a1899b2499ecfc58dd3f26273fde828e17bacf/mlgorithms-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "db7a6bf46e8817571edc52316fd9f4c0", "sha256": "32275ec1c3c5b3dcedb6030d4777b02c8cbf7fe8851d4f16a99541aa5d0c3363" }, "downloads": -1, "filename": "mlgorithms-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "db7a6bf46e8817571edc52316fd9f4c0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9428, "upload_time": "2019-08-08T03:31:49", "url": "https://files.pythonhosted.org/packages/94/95/62eea4e0345adb819a5b7904f4b6249764a1b31ed7c7102fcf1e8cb92bc7/mlgorithms-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8852c9ec0c2a198f539b4d2eec9f251e", "sha256": "fd0388f13a98925d79e267c79aef71b8429d52a39756c0aafa866441fe40f36c" }, "downloads": -1, "filename": "mlgorithms-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8852c9ec0c2a198f539b4d2eec9f251e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4186, "upload_time": "2019-08-08T03:31:50", "url": "https://files.pythonhosted.org/packages/44/47/8b1c7c69acef68d12f7376c5b71db67d02b9527ccaf8e7632a47b2042034/mlgorithms-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "510b8896dfa9c4d364fcc93d1a9e9ebf", "sha256": "75a35eee015c16cf64c9b945204cb18d27aa45e1f43937bc7cf2fe1181c1ad19" }, "downloads": -1, "filename": "mlgorithms-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "510b8896dfa9c4d364fcc93d1a9e9ebf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11241, "upload_time": "2019-08-14T12:13:11", "url": "https://files.pythonhosted.org/packages/b1/34/4a00a0da9da1d382c14e56cda559e015b89df457f5b0764829c6f165f355/mlgorithms-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e9fc8e70064fd63eacd103d86fa233a4", "sha256": "3a31bd43106ddbb657cd5ca039337adfc9027ef6033b2763a2e2ef38fbdcd33a" }, "downloads": -1, "filename": "mlgorithms-0.0.2.tar.gz", "has_sig": false, "md5_digest": "e9fc8e70064fd63eacd103d86fa233a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5356, "upload_time": "2019-08-14T12:13:13", "url": "https://files.pythonhosted.org/packages/14/66/9911894ed100de3da0c04b5660ab00c9141e2a2cb3b9f6d663ba94e9cf8c/mlgorithms-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "8e737db1a792eada4533c13c7a97d9d4", "sha256": "1bba5c115ddeb9ab2c3330318784cfb9402c370cedc2bc8038cfd4f05b55ac61" }, "downloads": -1, "filename": "mlgorithms-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8e737db1a792eada4533c13c7a97d9d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11716, "upload_time": "2019-09-04T08:11:20", "url": "https://files.pythonhosted.org/packages/dd/e8/358f3f0ae29f233c000f28632c8a14e8abbaabc024036197a151174f57ed/mlgorithms-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d05afaa2c6fac024f971134f6471c0af", "sha256": "86c64fefd7cb938b53293cc073bb910cf9c523dc4088cc9662baa9ac8336c770" }, "downloads": -1, "filename": "mlgorithms-0.0.3.tar.gz", "has_sig": false, "md5_digest": "d05afaa2c6fac024f971134f6471c0af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5804, "upload_time": "2019-09-04T08:11:22", "url": "https://files.pythonhosted.org/packages/c6/30/6097c86b3ee2b5660dbef3eef9a838bf3938360594ce312505b95eb8faec/mlgorithms-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "995844e723f8ecaa40a196d6a8a1ec8e", "sha256": "7030b3791954175e16fce096da0d83aec7020d770e975ca3253bd94e574b30cb" }, "downloads": -1, "filename": "mlgorithms-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "995844e723f8ecaa40a196d6a8a1ec8e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12200, "upload_time": "2019-09-06T09:22:20", "url": "https://files.pythonhosted.org/packages/5b/d4/18077835beb87222d98fb67022d6a40bb5030ba6e2282439805861ddf1a9/mlgorithms-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6375442c972093751cd3b04d30320e22", "sha256": "b7bd308f48edb68afdc99804434b2c21bd383600e2d53d4512183c9f25b342b1" }, "downloads": -1, "filename": "mlgorithms-0.0.4.tar.gz", "has_sig": false, "md5_digest": "6375442c972093751cd3b04d30320e22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6262, "upload_time": "2019-09-06T09:22:22", "url": "https://files.pythonhosted.org/packages/c3/1a/5237731ac108b82fc721b2b729c1402733b49a95081895ab83a96d77916e/mlgorithms-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "995844e723f8ecaa40a196d6a8a1ec8e", "sha256": "7030b3791954175e16fce096da0d83aec7020d770e975ca3253bd94e574b30cb" }, "downloads": -1, "filename": "mlgorithms-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "995844e723f8ecaa40a196d6a8a1ec8e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12200, "upload_time": "2019-09-06T09:22:20", "url": "https://files.pythonhosted.org/packages/5b/d4/18077835beb87222d98fb67022d6a40bb5030ba6e2282439805861ddf1a9/mlgorithms-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6375442c972093751cd3b04d30320e22", "sha256": "b7bd308f48edb68afdc99804434b2c21bd383600e2d53d4512183c9f25b342b1" }, "downloads": -1, "filename": "mlgorithms-0.0.4.tar.gz", "has_sig": false, "md5_digest": "6375442c972093751cd3b04d30320e22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6262, "upload_time": "2019-09-06T09:22:22", "url": "https://files.pythonhosted.org/packages/c3/1a/5237731ac108b82fc721b2b729c1402733b49a95081895ab83a96d77916e/mlgorithms-0.0.4.tar.gz" } ] }