https://github.com/hamdivazim/pypredictor
The Python library that makes AI predictions simple.
https://github.com/hamdivazim/pypredictor
artificial-intelligence machine-learning neural-network prediction pypredictor python rnn seaborn tensorflow
Last synced: 11 months ago
JSON representation
The Python library that makes AI predictions simple.
- Host: GitHub
- URL: https://github.com/hamdivazim/pypredictor
- Owner: hamdivazim
- License: apache-2.0
- Created: 2023-05-11T16:37:58.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-09T16:29:15.000Z (over 2 years ago)
- Last Synced: 2025-06-03T03:57:13.398Z (about 1 year ago)
- Topics: artificial-intelligence, machine-learning, neural-network, prediction, pypredictor, python, rnn, seaborn, tensorflow
- Language: Python
- Homepage: https://pypi.org/project/pypredictor/
- Size: 83 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# pypredictor 0.1.1
The Python library that makes AI predictions simple.
## 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 use
There are examples for both packages `numpredict` and `numgraph` in the `examples/` directory which you can `git clone` as shown below.
## 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 (hamdivazim) under [the Apache License 2.0](https://github.com/hamdivazim/pypredictor/blob/main/LICENSE).