Skip to content

hamdivazim/pypredictor

pypredictor logo

pypredictor 0.1.1

py versions pypi version license libs

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:

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.