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

Data preparation for the time series regression #7

Closed
PolKul opened this issue Nov 28, 2022 · 4 comments
Closed

Data preparation for the time series regression #7

PolKul opened this issue Nov 28, 2022 · 4 comments

Comments

@PolKul
Copy link

PolKul commented Nov 28, 2022

I'm trying to adopt CfC network from your PyTorch example (person_atcivity) to make a timeseries regression. Given one dimensional array of floating-point numbers (lets consider them equally spaced in time) how can I feed them into the network? As I understand your current PyTorch implementation works as a classifier, that is the Labels array should be finite number of classes. But in case of regression we have floating point values as output. Also how should we structure the inputs? Lets say we have 10 last values of the timeseries as input and we want to predict 11th value, how do we do that? If you can provide a short pseudocode example it would be much appreciated. Thanks.

@nightvision04
Copy link
Contributor

Agreed, a simple pseudocode example would be great.

When this paper was reviewed for Nature, was there additional code supplied to the review team? If so, I would be happy to make a PR with some documentation.

@nightvision04
Copy link
Contributor

nightvision04 commented Dec 13, 2022

@PolKul My latest fork does simple X,y prediction but includes significant refactoring.

@mlech26l
Copy link
Collaborator

@PolKul @nightvision04 the code in this repo is for reproducing/documenting the experiments of the paper.

A cleanup ready-to-use implementation of the CfCs with examples can be found here: https://ncps.readthedocs.io/en/latest/
I hope you will find the docs there useful

@raminmh
Copy link
Owner

raminmh commented Dec 16, 2022

Closing this issue with Mathias's link to our documentation page: https://ncps.readthedocs.io/en/latest/

@raminmh raminmh closed this as completed Dec 16, 2022
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

4 participants