Skip to main content

The Python library that makes AI predictions simple.

Project description

pypredictor logo

pypredictor

py versions pypi version license libs

The Python library that makes AI predictions simple.

View the GitHub Page

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 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypredictor-0.1.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

pypredictor-0.1.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file pypredictor-0.1.1.tar.gz.

File metadata

  • Download URL: pypredictor-0.1.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pypredictor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f1fbcaf894d7e582390d5dd727571b53c4fae7fa27f5cdd2814b3a811a310b25
MD5 1bbedda67ccb09a518226fad433d969d
BLAKE2b-256 174ecd67ac6a1a18c0e5ba3f639c27b4622dfcf649250031fca225a3353db8fb

See more details on using hashes here.

File details

Details for the file pypredictor-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pypredictor-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for pypredictor-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e94603c53bb95d7988e3f4750393a420f6a0cb53b3b8be9e1dfd89787cdf20e
MD5 5ddeb954af4b8adcdf1c77c42c9ae05c
BLAKE2b-256 9c4cb3519dc8211bcb4c3a4deb10ac28117a820588c70054b0732f7ac38aa676

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page