Skip to content

Getting started #14

Answered by microprediction
dirknbr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Dirk,
You feed the skater one data point at a time, and the first time send an empty dictionary.

    y_hat, y_std, s = thinking_slow_and_fast(y[0], s={}, k=10)
    y_hat, y_std, s = thinking_slow_and_fast(y[1], s=s, k=10)
    y_hat, y_std, s = thinking_slow_and_fast(y[2], s=s, k=10)

You can also use the prior or posterior helper functions in skating.py to avoid a loop

Peter

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dirknbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants