{ "info": { "author": "Paulo Kuong", "author_email": "paulo.kuong@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.4" ], "description": "| |Build Status|\n\nMultilayer Perceptron in Python\n-----------------------------------\n\nPython implementation of multilayer perceptron neural network from scratch.\n\n | Minimal neural network class with regularization using scipy minimize. Contains clear pydoc for learners to better understand each stage in the neural network.\n | https://github.com/paulokuong/mlperceptron\n\nRequirements\n------------\n\n- Python 3.4 (tested)\n\nGoal\n----\n\n| To provide an example of a simple MLP for educational purpose.\n\nCode sample\n-----------\n\n| Predicting outcome of AND logic gate:\n\nX = 000, 001, 010, 011, 100, 101, 110, 111\n y = 0,0,0,0,0,0,1\n\n Data we want to predict:\n p = 011, 111, 000, 010, 111\n Expected results are: 0, 1, 0, 0, 1\n\n.. code:: python\n\n import numpy as np\n from mlperceptron.mlperceptron import NeuralNetwork\n\n X = np.matrix(\n '0 0 0;0 0 1;0 1 0;0 1 1;1 0 0;1 0 1;1 1 0;1 1 1')\n y = np.matrix('0;0;0;0;0;0;0;1')\n n = NeuralNetwork((5,5,))\n\n g = n.train(X, y, 0.01, show_cost=True)\n y_pred = n.predict(np.matrix('0 1 1;1 1 1;0 0 0;0 1 0;1 1 1'), g)\n\n print(y_pred)\n print(n.accuracy(y_pred, np.matrix('0;1;0;0;1')))\n\n\nContributors\n------------\n\n- Paulo Kuong (`@pkuong`_)\n\n.. _@pkuong: https://github.com/paulokuong\n\n.. |Build Status| image:: https://travis-ci.org/paulokuong/mlperceptron.svg?branch=master\n.. target: https://travis-ci.org/paulokuong/mlperceptron\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/paulokuong/mlperceptron", "keywords": "Neural Network NN neural network multilayer perceptron machine learning logistic classifier", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mlperceptron", "package_url": "https://pypi.org/project/mlperceptron/", "platform": "", "project_url": "https://pypi.org/project/mlperceptron/", "project_urls": { "Homepage": "https://github.com/paulokuong/mlperceptron" }, "release_url": "https://pypi.org/project/mlperceptron/0.3/", "requires_dist": null, "requires_python": "", "summary": "Python implementation of multilayer perceptron neural network from scratch.", "version": "0.3" }, "last_serial": 3730796, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "2390645379884c6014912c882e45182e", "sha256": "4afb7b5ee7859f31a83510905681f06f538a728ee3f5f66f54090126947859fd" }, "downloads": -1, "filename": "mlperceptron-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2390645379884c6014912c882e45182e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3047, "upload_time": "2018-04-03T18:14:45", "url": "https://files.pythonhosted.org/packages/7e/8b/bd950b4b9b086654c676aac98c558cde7c95774ec3c9534c2ec56e590ed9/mlperceptron-0.0.1.tar.gz" } ], "0.0.1a0": [ { "comment_text": "", "digests": { "md5": "c115379084d9a4af69f32b8bf6cab75d", "sha256": "e7b9dee243c520a3c53deb02451df90fb7541ce9d3d7b618321271c3d02d5957" }, "downloads": -1, "filename": "mlperceptron-0.0.1a0.tar.gz", "has_sig": false, "md5_digest": "c115379084d9a4af69f32b8bf6cab75d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3042, "upload_time": "2018-04-03T18:21:10", "url": "https://files.pythonhosted.org/packages/f2/f0/58577483291c27294b07955f60fb3f87ef7a0719c1be9015b0331e80ba5f/mlperceptron-0.0.1a0.tar.gz" } ], "0.0.1b0": [ { "comment_text": "", "digests": { "md5": "93f8dc044134260fb471a60d1d32ac5e", "sha256": "1f8c668f95e6cd769b03d8b869f9fd0f96a0c31b23730bf1a1614ce7cc692c6e" }, "downloads": -1, "filename": "mlperceptron-0.0.1b0.tar.gz", "has_sig": false, "md5_digest": "93f8dc044134260fb471a60d1d32ac5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3045, "upload_time": "2018-04-03T18:29:42", "url": "https://files.pythonhosted.org/packages/8c/a3/968995b82c39e33807e3259c767c2632afca1308d58e0b561bd58c6cbd1c/mlperceptron-0.0.1b0.tar.gz" } ], "0.0.1rc0": [ { "comment_text": "", "digests": { "md5": "4a0c4fc418f218450db863a2732b7f6e", "sha256": "4e6289bb36b35f9bc0895e1afc311d72eb2fe141a62f35973511844e32862e6a" }, "downloads": -1, "filename": "mlperceptron-0.0.1rc0.tar.gz", "has_sig": false, "md5_digest": "4a0c4fc418f218450db863a2732b7f6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5759, "upload_time": "2018-04-03T18:47:12", "url": "https://files.pythonhosted.org/packages/7b/14/fb9d9956829ef01f2aee2a3cc1c008b4addfffa59e30b221a0c18adc743c/mlperceptron-0.0.1rc0.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "2097b937adda7041cf26f1b06a5152bf", "sha256": "18ebb31e3c43f69970b26bb94f9f4d7146f5ecc61144e44a649f1dfb1447929d" }, "downloads": -1, "filename": "mlperceptron-0.0.2.tar.gz", "has_sig": false, "md5_digest": "2097b937adda7041cf26f1b06a5152bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5759, "upload_time": "2018-04-03T18:50:14", "url": "https://files.pythonhosted.org/packages/c9/05/d11169d8ef590dbd767b8be0f702c643048f4944f726f7708f3d22df23b3/mlperceptron-0.0.2.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "2ea91bc318ae1881964926f96b942070", "sha256": "78e4634c29ae3c7a7eac66913d3da3f17df8b8d51df162bc7035a76ddc0ecd16" }, "downloads": -1, "filename": "mlperceptron-0.1.tar.gz", "has_sig": false, "md5_digest": "2ea91bc318ae1881964926f96b942070", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3037, "upload_time": "2018-04-03T17:54:36", "url": "https://files.pythonhosted.org/packages/93/de/a9d8bad21be835325e23daaa181c6f30198145d27f3fe5a9bfacaa46e90a/mlperceptron-0.1.tar.gz" } ], "0.1a0": [ { "comment_text": "", "digests": { "md5": "fe30fb48469a6abc9d509f7b4ede9707", "sha256": "307da49d66682d63a43d86c6c7bbaf4ad1ebe8eb5cd488307c958bdae25e47de" }, "downloads": -1, "filename": "mlperceptron-0.1a0.tar.gz", "has_sig": false, "md5_digest": "fe30fb48469a6abc9d509f7b4ede9707", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3042, "upload_time": "2018-04-03T17:58:17", "url": "https://files.pythonhosted.org/packages/9e/84/48396d612f46e6f63ae7a26a09dca6e94c1a0d440ea9f4c387430d41c981/mlperceptron-0.1a0.tar.gz" } ], "0.1b0": [ { "comment_text": "", "digests": { "md5": "73cacfc29f6625bd9ec7ef8763acec64", "sha256": "877bbdc66f7fe7841d69b878fd9d7ea99f9cfea82796d8472bbae5a1afea68b9" }, "downloads": -1, "filename": "mlperceptron-0.1b0.tar.gz", "has_sig": false, "md5_digest": "73cacfc29f6625bd9ec7ef8763acec64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3036, "upload_time": "2018-04-03T17:59:26", "url": "https://files.pythonhosted.org/packages/39/d3/4708b2127b569a17bac9f6401fbd59da440eb6da115e889990343791042a/mlperceptron-0.1b0.tar.gz" } ], "0.1rc0": [ { "comment_text": "", "digests": { "md5": "67aff5b24cfc079e7c06acb1b2930578", "sha256": "575bf4979a716adc9cf4b95151f4b16c05b53cb710dd4432ff3e3ace87197499" }, "downloads": -1, "filename": "mlperceptron-0.1rc0.tar.gz", "has_sig": false, "md5_digest": "67aff5b24cfc079e7c06acb1b2930578", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3042, "upload_time": "2018-04-03T18:09:47", "url": "https://files.pythonhosted.org/packages/ba/1a/4e04218e4af43508374771408416ad00968ddd6727441090431305d3e395/mlperceptron-0.1rc0.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "bfda15a8a5de769e127e0704bf35b2b9", "sha256": "dbd04e44efb7ccb82bf3d74dbae233dfc90f9e1404340573ec6f4990bad104be" }, "downloads": -1, "filename": "mlperceptron-0.2.tar.gz", "has_sig": false, "md5_digest": "bfda15a8a5de769e127e0704bf35b2b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5757, "upload_time": "2018-04-03T18:53:11", "url": "https://files.pythonhosted.org/packages/8a/d3/f5641e49e15b7d0039c576e949ec4cad099db0aebebe55c5d178b0a169dd/mlperceptron-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "976f77c88a45064281eb0b3a2ad9f5d2", "sha256": "593d8ab73b20649d27b1eef061d0f49cc6b876b8cdf40a4fe81cd1c2cb6a68f7" }, "downloads": -1, "filename": "mlperceptron-0.3.tar.gz", "has_sig": false, "md5_digest": "976f77c88a45064281eb0b3a2ad9f5d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5749, "upload_time": "2018-04-03T18:58:34", "url": "https://files.pythonhosted.org/packages/18/f0/1542ea0e518eab35644c4b500a962463e9083275f4033d352709a77174cc/mlperceptron-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "976f77c88a45064281eb0b3a2ad9f5d2", "sha256": "593d8ab73b20649d27b1eef061d0f49cc6b876b8cdf40a4fe81cd1c2cb6a68f7" }, "downloads": -1, "filename": "mlperceptron-0.3.tar.gz", "has_sig": false, "md5_digest": "976f77c88a45064281eb0b3a2ad9f5d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5749, "upload_time": "2018-04-03T18:58:34", "url": "https://files.pythonhosted.org/packages/18/f0/1542ea0e518eab35644c4b500a962463e9083275f4033d352709a77174cc/mlperceptron-0.3.tar.gz" } ] }