{ "info": { "author": "Aditya Radhakrishnan", "author_email": "adityaradk@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "![](https://i.ibb.co/ypC5ZVv/aunnl.png)\n___\n\nAUNNL is another unnecessary neural network library for Python 3.x. It is intended to help create and train basic neural networks very easily.\n\n## Getting Started\n\n### Installation\n\nIt is recommended you install via pip for Python 3:\n\n```\npip install aunnl\n```\n\nAfter this, you can import it into your python program with:\n\n```\nimport aunnl\n```\n\n### Basic Example\n\nThe following example trains a neural network to classify handwritten digits from the MNIST dataset. The dataset is loaded using the `mnist_web` module, which is not packaged with AUNNL. Download and install it with the command `pip install mnist_web`.\n\n```\nimport aunnl\n\nfrom mnist_web import mnist\ndata, labels, _, _ = mnist(path=\"dataset\")\n\nmodel = aunnl.NeuralNetwork([784, 256, 10], [\"relu\", \"sigmoid\"])\n\nepochs, lr, batch_size = 1, 0.1, 64\n\nmodel.fit(data, labels, epochs, batch_size, lr, aunnl.losses.MSE)\nmodel.save(\"mnist.aunn\")\n```\n\nIn the above example, a neural network with a hidden layer of 256 neurons is trained - its activation being ReLU and the output layer activation being sigmoid. The model, which is an `aunnl.NeuralNetwork` object, is then saved to the file `mnist.aunn`. The model can be loaded from the file with `aunnl.loadModel('mnist.aunn')`.\n\nTo use the model, simply pass the image in the form of a flat numpy array (denoted here as `img_arr`) to the model with `model.feedForward(img_arr)`. The `feedForward` function returns a list of the values outputted by the model.\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/adityaradk/aunnl", "keywords": "Deep Learning,Machine Learning,Artificial Neural Networks", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "aunnl", "package_url": "https://pypi.org/project/aunnl/", "platform": "", "project_url": "https://pypi.org/project/aunnl/", "project_urls": { "Homepage": "https://github.com/adityaradk/aunnl" }, "release_url": "https://pypi.org/project/aunnl/3.0.3/", "requires_dist": [ "numpy", "scipy" ], "requires_python": "", "summary": "Another Unnecessary Neural Network Library", "version": "3.0.3" }, "last_serial": 5780790, "releases": { "3.0.2": [ { "comment_text": "", "digests": { "md5": "374a54a799576a17c9be9f5c6b7e6dda", "sha256": "25747f6a3d045df6f90cfcf6dac7f0887be7c1d171433a8c66997861cd5528d7" }, "downloads": -1, "filename": "aunnl-3.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "374a54a799576a17c9be9f5c6b7e6dda", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5377, "upload_time": "2019-09-03T13:12:16", "url": "https://files.pythonhosted.org/packages/42/bc/e32e679f5c39bcfb1b5558a727333d444f11b10f5c56b10393d58a6caf25/aunnl-3.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5ca45f2798fc24956a5d25109eb2444d", "sha256": "f0b5f4c94ea8fc31dce07ead55f4bc6511fa600a281523d1b7cad879ace0bb50" }, "downloads": -1, "filename": "aunnl-3.0.2.tar.gz", "has_sig": false, "md5_digest": "5ca45f2798fc24956a5d25109eb2444d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4312, "upload_time": "2019-09-03T13:12:17", "url": "https://files.pythonhosted.org/packages/5f/d0/d7ca1f326d16be245ae205e09e7fe4dea02de48cd614b74a6e895b662826/aunnl-3.0.2.tar.gz" } ], "3.0.3": [ { "comment_text": "", "digests": { "md5": "8ab0e6f0c01e96c98421d5926d861763", "sha256": "8b959ea2fec99414dbf01aa92111c8cd705b55edbe84ce5a15a9fbddecd9d274" }, "downloads": -1, "filename": "aunnl-3.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8ab0e6f0c01e96c98421d5926d861763", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5706, "upload_time": "2019-09-04T11:52:41", "url": "https://files.pythonhosted.org/packages/05/1e/51dfcd938cd3565a23d448d5f9cedcc7b5f37cb85261814183c7627f51c6/aunnl-3.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e9c74878babc6c812e543537eae1a960", "sha256": "cc834df18f748100c25ef8c116c177d0629049c115b4df28d6546ff88c2c68be" }, "downloads": -1, "filename": "aunnl-3.0.3.tar.gz", "has_sig": false, "md5_digest": "e9c74878babc6c812e543537eae1a960", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4817, "upload_time": "2019-09-04T11:52:42", "url": "https://files.pythonhosted.org/packages/30/96/aa936df29346dda3106de77d37298906ae632d8c0e3b065e021b30af839b/aunnl-3.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8ab0e6f0c01e96c98421d5926d861763", "sha256": "8b959ea2fec99414dbf01aa92111c8cd705b55edbe84ce5a15a9fbddecd9d274" }, "downloads": -1, "filename": "aunnl-3.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8ab0e6f0c01e96c98421d5926d861763", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5706, "upload_time": "2019-09-04T11:52:41", "url": "https://files.pythonhosted.org/packages/05/1e/51dfcd938cd3565a23d448d5f9cedcc7b5f37cb85261814183c7627f51c6/aunnl-3.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e9c74878babc6c812e543537eae1a960", "sha256": "cc834df18f748100c25ef8c116c177d0629049c115b4df28d6546ff88c2c68be" }, "downloads": -1, "filename": "aunnl-3.0.3.tar.gz", "has_sig": false, "md5_digest": "e9c74878babc6c812e543537eae1a960", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4817, "upload_time": "2019-09-04T11:52:42", "url": "https://files.pythonhosted.org/packages/30/96/aa936df29346dda3106de77d37298906ae632d8c0e3b065e021b30af839b/aunnl-3.0.3.tar.gz" } ] }