Code Monkey home page Code Monkey logo

prophetgears's Introduction

Actions Status Forum Discord

ProphetGears

RedisInsight screencase

Run

Install requirements
pip3 install -r requirements.txt
Build and run docker
docker build --tag redislabs/prophetgears:edge .
docker run -p 6379:6379 -it --rm redislabs/prophetgears:edge
Load raw data into RedisTimeSeries
python3 load.py 
Run RedisGears to produce predictions
gears-cli run --requirements ./predict_requirements.txt predict.py
Present results on RedisInsight

Install and run RedisInsight (Docs) and enter http://127.0.0.1:8001/

Add Redis instance using IP 127.0.0.1 and port 6379 and click the database.

From the sidebar choose RedisTimeSeries.

To see the original data enter query TS.RANGE test - +.

To see original data and predictions enter query TS.MRANGE - + FILTER source=test.

prophetgears's People

Contributors

ashtul avatar chayim avatar gkorland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

prophetgears's Issues

failed on Mac

ghSrc/ProphetGears % gears-cli run --requirements ./predict_requirements.txt predict.py
failed running gear function (Could not satisfy requirments (look at redis log file for more information))

1:M 20 Aug 2020 02:24:27.279 * Building wheel for fbprophet (setup.py): finished with status 'error'

ERROR: Command errored out with exit status 1:
command: /var/opt/redislabs/modules/rg//python3_99.99.99//bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-jo2_ss1u/fbprophet/setup.py'"'"'; file='"'"'/tmp/pip-wheel-jo2_ss1u/fbprophet/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-otrm3if8
cwd: /tmp/pip-wheel-jo2_ss1u/fbprophet/
Complete output (40 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/fbprophet
creating build/lib/fbprophet/stan_model
Traceback (most recent call last):
File "", line 1, in

Docker Build Failure on WSL2 with Ubuntu 22.04.3 LTS

I'm attempting to create a Docker image for ProphetGears following the provided instructions. However, an error is being raised concerning the absence of an installation candidate for the 'python-pip' package. Any suggestions for a workaround would be greatly appreciated.

Device Information:

Virtualization: wsl
Operating System: Ubuntu 22.04.3 LTS
Kernel: Linux 5.15.133.1-microsoft-standard-WSL2
Architecture: x86-64

image

execute on a timeseries return none

Hi,
when i follow this example to operate on a redis timeseries with RedisGears, i get none. The timeseries data has no problem. I don't konw the reason. Can you help me? Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.