Created
May 1, 2013 09:02
-
-
Save sureshsaggar/5494401 to your computer and use it in GitHub Desktop.
Forecasting in R: Python API to analyze time series data in Redis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X GET http://0.0.0.0:6600/rpy/linearregression | |
{ | |
"stat": "pass", | |
"future": { | |
"c": -19581061.761599176, | |
"points": 4, | |
"m": 0.01434285714285654, | |
"predictions": { | |
"2013-05-05": 36307, | |
"2013-05-04": 35068, | |
"2013-05-07": 38786, | |
"2013-05-06": 37546, | |
"2013-05-01": 31350, | |
"2013-05-03": 33829, | |
"2013-05-02": 32590 | |
}, | |
"d": 1.166368007659912 | |
}, | |
"statistic": "linearregression" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment