<div align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/hamdivazim/pypredictor/raw/main/logo_dark.png">
<img src="https://github.com/hamdivazim/pypredictor/raw/main/logo.png" alt="pypredictor logo">
</picture>
</div>
# pypredictor
<p>
<img src="https://img.shields.io/badge/Python-3.8 | 3.9 | 3.10 | 3.11 -blue.svg" alt="py versions">
<img src="https://img.shields.io/badge/PyPi package-0.1.0-green.svg" alt="pypi version">
<img src="https://img.shields.io/badge/License-Apache License 2.0-green.svg" alt="license">
<img src="https://img.shields.io/badge/Libraries-tensorflow | numpy | seaborn | pandas-green.svg" alt="libs">
</p>
The Python library that makes AI predictions simple.
### View the [GitHub Page](https://github.com/hamdivazim/pypredictor)
## What can it do?
pypredictor uses an RNN (Recurrent Neural Network) to predict the next n numbers in a sequence. As an example, using this code:
```python
pred = NumPredictor(500)
print(pred.predict([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 5, 3))
```
pypredictor generated the following output, which is quite accurate:
```
[10.969043, 11.950292, 12.920968, 13.859894, 14.789316]
```
pypredictor also has the ability to generate a pandas DataFrame and a seaborn line graph, from an initial sequence/DataFrame which you provide.
###
Plus, there are examples in the `examples/` directory, so you can take a look for yourself :)
## How to install
Install via pip:
```
$ pip install pypredictor
```
To get examples, clone this repository and enter `pypredictor/examples`:
```
$ git clone https://github.com/hamdivazim/pypredictor.git
$ cd pypredictor/examples
```
anaconda support hopefully coming soon!
## License
pypredictor is licensed by Hamd Waseem (codingboy_CW) under [the Apache License 2.0](https://github.com/hamdivazim/pypredictor/blob/main/LICENSE).
Raw data
{
"_id": null,
"home_page": "",
"name": "pypredictor",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,prediction,ai",
"author": "codingboy_CW (Hamd Waseem)",
"author_email": "codingboy.cw@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/17/4e/cd67ac6a1a18c0e5ba3f639c27b4622dfcf649250031fca225a3353db8fb/pypredictor-0.1.1.tar.gz",
"platform": null,
"description": "\n<div align=\"center\">\n <picture>\n <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/hamdivazim/pypredictor/raw/main/logo_dark.png\">\n <img src=\"https://github.com/hamdivazim/pypredictor/raw/main/logo.png\" alt=\"pypredictor logo\">\n </picture>\n</div>\n\n# pypredictor\n<p>\n <img src=\"https://img.shields.io/badge/Python-3.8 | 3.9 | 3.10 | 3.11 -blue.svg\" alt=\"py versions\">\n <img src=\"https://img.shields.io/badge/PyPi package-0.1.0-green.svg\" alt=\"pypi version\">\n <img src=\"https://img.shields.io/badge/License-Apache License 2.0-green.svg\" alt=\"license\">\n <img src=\"https://img.shields.io/badge/Libraries-tensorflow | numpy | seaborn | pandas-green.svg\" alt=\"libs\">\n</p>\n\nThe Python library that makes AI predictions simple.\n\n### View the [GitHub Page](https://github.com/hamdivazim/pypredictor)\n\n## What can it do?\npypredictor uses an RNN (Recurrent Neural Network) to predict the next n numbers in a sequence. As an example, using this code:\n```python\npred = NumPredictor(500)\nprint(pred.predict([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 5, 3))\n```\npypredictor generated the following output, which is quite accurate:\n```\n[10.969043, 11.950292, 12.920968, 13.859894, 14.789316]\n```\npypredictor also has the ability to generate a pandas DataFrame and a seaborn line graph, from an initial sequence/DataFrame which you provide.\n###\nPlus, there are examples in the `examples/` directory, so you can take a look for yourself :)\n\n## How to install\nInstall via pip:\n```\n$ pip install pypredictor\n```\nTo get examples, clone this repository and enter `pypredictor/examples`:\n```\n$ git clone https://github.com/hamdivazim/pypredictor.git\n$ cd pypredictor/examples\n```\nanaconda support hopefully coming soon!\n\n## License\npypredictor is licensed by Hamd Waseem (codingboy_CW) under [the Apache License 2.0](https://github.com/hamdivazim/pypredictor/blob/main/LICENSE).\n\n\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "The Python library that makes AI predictions simple.",
"version": "0.1.1",
"project_urls": null,
"split_keywords": [
"python",
"prediction",
"ai"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9c4cb3519dc8211bcb4c3a4deb10ac28117a820588c70054b0732f7ac38aa676",
"md5": "5ddeb954af4b8adcdf1c77c42c9ae05c",
"sha256": "3e94603c53bb95d7988e3f4750393a420f6a0cb53b3b8be9e1dfd89787cdf20e"
},
"downloads": -1,
"filename": "pypredictor-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5ddeb954af4b8adcdf1c77c42c9ae05c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9321,
"upload_time": "2023-05-13T12:56:40",
"upload_time_iso_8601": "2023-05-13T12:56:40.506470Z",
"url": "https://files.pythonhosted.org/packages/9c/4c/b3519dc8211bcb4c3a4deb10ac28117a820588c70054b0732f7ac38aa676/pypredictor-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "174ecd67ac6a1a18c0e5ba3f639c27b4622dfcf649250031fca225a3353db8fb",
"md5": "1bbedda67ccb09a518226fad433d969d",
"sha256": "f1fbcaf894d7e582390d5dd727571b53c4fae7fa27f5cdd2814b3a811a310b25"
},
"downloads": -1,
"filename": "pypredictor-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "1bbedda67ccb09a518226fad433d969d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8160,
"upload_time": "2023-05-13T12:56:42",
"upload_time_iso_8601": "2023-05-13T12:56:42.527955Z",
"url": "https://files.pythonhosted.org/packages/17/4e/cd67ac6a1a18c0e5ba3f639c27b4622dfcf649250031fca225a3353db8fb/pypredictor-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-13 12:56:42",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pypredictor"
}