From 2d06fae078aa9c22d1bb87f536ae125be1dcdffa Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 31 Aug 2017 00:43:29 -0400 Subject: [PATCH] pretty graphs on homepage! Signed-off-by: Kenneth Reitz --- predictions.py | 2 +- templates/index.html | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/predictions.py b/predictions.py index b46adc8..50f0c57 100644 --- a/predictions.py +++ b/predictions.py @@ -17,7 +17,7 @@ from fbprophet import Prophet from scraper import Coin, MWT, convert_to_decimal -PERIODS = 365 +PERIODS = 30 @MWT(timeout=300) diff --git a/templates/index.html b/templates/index.html index 028c3da..37fe4bc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -76,6 +76,13 @@

Experimental (e.g. fun) Endpoints

+

Prediction of LBC Price (using machine learning)

+

 

+ + + Graph of LBC prediction. + +

$ curl https://coinbin.org/lbc/forecast