Skip to content

A Demo for RedisGears function that uses fbprophet for timeseries prediction

License

Notifications You must be signed in to change notification settings

RedisGears/ProphetGears

Repository files navigation

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.

About

A Demo for RedisGears function that uses fbprophet for timeseries prediction

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •