{ "info": { "author": "Jon Nordby", "author_email": "jononor@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# embayes\nBayesian machine learning classifiers for embedded systems.\nTrain in Python, deploy on microcontroller.\n\n## Key features\n\nEmbedded-friendly Classifier\n\n* Portable C99 code\n* No stdlib required\n* No dynamic allocations\n* Integer/fixed-point math only\n* Single header file include\n* Fast, sub-millisecond classification\n\nConvenient Training\n\n* API-compatible with [scikit-learn](http://scikit-learn.org)\n* Implemented in Python 3\n* C classifier accessible in Python using pybind11\n\n[MIT licensed](./LICENSE.md)\n\n## Status\n**Minimally useful**\n\n* Gaussian Naive Bayes classifier implemented\n* Tested running on ESP8266 and Linux.\n* On ESP8266, 2 classes and 30 features classify in under 0.5ms\n\n## Installing\n\nInstall from git\n\n git clone https://github.com/jonnor/embayes\n python3 setup.py install --user\n\n## Usage\n\nSee [examples/cancer.py](./examples/cancer.py) and [embayes.ino](./embayes.ino)\n\n## TODO\n\n0.2\n\n* Make estimator a wrapper around `sklearn.naivebayes.GaussianNB`\n* Make estimator work in sklearn pipeline\n* Make `pdf` approximation configurable as parameter\n\n1.0\n\n* Support generating inline C code, not needing model coefficients in RAM\n* Support de/serializing coefficients at runtime\n* Support training on microcontroller", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jonnor", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "embayes", "package_url": "https://pypi.org/project/embayes/", "platform": "", "project_url": "https://pypi.org/project/embayes/", "project_urls": { "Homepage": "https://github.com/jonnor" }, "release_url": "https://pypi.org/project/embayes/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Naive Bayes classifier for embedded systems", "version": "0.1.1" }, "last_serial": 3711815, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "48f2e0df306eb502170130d6c74e62c7", "sha256": "caef32c1c84b1a5404593c8279f3b4fa9142e92a50a9054de9c39b81ebd7657b" }, "downloads": -1, "filename": "embayes-0.1.1.tar.gz", "has_sig": false, "md5_digest": "48f2e0df306eb502170130d6c74e62c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4767, "upload_time": "2018-03-27T21:08:15", "url": "https://files.pythonhosted.org/packages/2f/7a/540f640593e41c031b35af0123b1d935b54d8dafd5340a059fe80e6c8494/embayes-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "48f2e0df306eb502170130d6c74e62c7", "sha256": "caef32c1c84b1a5404593c8279f3b4fa9142e92a50a9054de9c39b81ebd7657b" }, "downloads": -1, "filename": "embayes-0.1.1.tar.gz", "has_sig": false, "md5_digest": "48f2e0df306eb502170130d6c74e62c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4767, "upload_time": "2018-03-27T21:08:15", "url": "https://files.pythonhosted.org/packages/2f/7a/540f640593e41c031b35af0123b1d935b54d8dafd5340a059fe80e6c8494/embayes-0.1.1.tar.gz" } ] }