Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample nx1 experiment #3

Open
andrewcztrack opened this issue Aug 24, 2020 · 1 comment
Open

sample nx1 experiment #3

andrewcztrack opened this issue Aug 24, 2020 · 1 comment

Comments

@andrewcztrack
Copy link

Hi @wesselb @YannDubs !!

i was looking at the example and its not clear to me how a nX1 numpy array can be used with the regression example.
could i please get some brief code just to get started.
Best,
Andrew

@wesselb
Copy link
Member

wesselb commented Aug 26, 2020

Hey @andrewcztrack,

Thank you for your interest. :)

An example where the model is called can be found here. There task['x_context'] and others are three-tensors of shape (batch, data, 1), and the outputs y_mean and y_std are also of that shape. Thus, you could reshape your arrays to shape (1, data, 1) and call model similarly. Also take a look at the sequential inference notebook, where we run some trained models on new data.

I should also say that we a Julia implementation which you could use. The interface is described here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants