RJT1990 / pyflux

Open source time series library for Python
BSD 3-Clause "New" or "Revised" License
2.11k stars 240 forks source link

confidence intervals from `predict` #55

Open andreacortis opened 7 years ago

andreacortis commented 7 years ago

I can visualize the confidence intervals from

model.plot_predict(h=20,intervals=True,figsize=(15,5))

but is there any way to output the numerical values of the confidence intervals from the predict method say something like?

model.predict(h=20, intervals=True)

Thanks in advance,

Andrea

RJT1990 commented 7 years ago

Hi Andrea,

Yes, you're right - the intervals are not outputted right now, but I'm looking to get this in as an argument for predict in the next release (next week or so)

Thanks,

Ross

RJT1990 commented 7 years ago

Andrea - this is now implemented for most of the model types in the library.

Ross

andreacortis commented 7 years ago

great, let me take a look at it.

-A

On Mon, Nov 28, 2016 at 2:27 PM, Ross Taylor notifications@github.com wrote:

[image: Boxbe] https://www.boxbe.com/overview This message is eligible for Automatic Cleanup! (notifications@github.com) Add cleanup rule https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3D%252BL9wD5QB7GHcYS%252B7P0iGfZhRwyO8VVcDNCQexC4Vdx0%253D%26token%3Dn5g%252Bgi58lY3mIk3lvyXYUfX27oH1T8cATwmn1ykR0vTxMdmncl%252FeplMKxBSL1cUoaS60lugJr4T%252BjzRiC38ZfjxN48ilKelWV9p6U64PFio0Qfr7H14sWxA1r6J0uaxKuJ%252FzhCu9XnUQaZXjkSfYIw%253D%253D&tc_serial=27778384035&tc_rand=380289086&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001 | More info http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=27778384035&tc_rand=380289086&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001

Andrea - this is now implemented for most of the model types in the library.

Ross

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RJT1990/pyflux/issues/55#issuecomment-263384550, or mute the thread https://github.com/notifications/unsubscribe-auth/AFPgzAFSZL3W0SAzqocrz6rqmmf6ZAK7ks5rCzlJgaJpZM4Kpfzv .