-
Notifications
You must be signed in to change notification settings - Fork 128
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
Running on Pandas data set #2
Comments
I would like to echo what Andrew said. From my digging, it looks like I need to create a file for my dataset, similar to person_activity.py. If I can figure out how to make a simple model that runs on pandas, I might try to make a pull request. simple classify framework
Thank you for providing latent_ode! |
Latent ODE code is designed to handle the datasets where time series are of different length, and each time series measured at different times. It can be used with multivariate time series. Different dimensions of data might be measured at different times as well. All the datasets are loaded in Easy case: all time series share observation timesThis approach with be the easiest to use in Jupiter notebooks. A good example is Data format
For example, in periodic dataset, observation times are generated here; dataset is generated here. Steps
Optional Time series have different observation times and/or have different lengthThis case is useful for real data. Good examples are PhysioNet class ( To use Latent ODE on your dataset, I recommend formatting your data as a list of records, as described below. You can use the collate function for DataLoader from here Data format Each record has the following format:
Pipeline of the Physionet dataset
|
Thank you for this, this clarifies a ton! You mention that labels is a list. Do I make a list of the labels and then just have the labels in the record tuple be an index? Does the shape of labels need to be the length of the time points? Thanks again! |
Concerning the labels, we support two tasks right now:
Your case seems to be multi-class classification per time series, which is the blend of the two set-ups that we have now. You can do the following:
|
Thanks so much |
For context, I've duplicated run_models into latent_pandas.
This might be a cryptic error message, but I'm not exactly sure what I need to change. If it's helpful here is my dataloader:
Thanks for your help |
Thank you for your amazing paper and this code repository. I went through your code and your explanation for this issue, but I was unable to come to a conclusion on how to use your code for a generic Multivariate Time Series Classification with each feature observed at all times. Could you please how to guide me on how to run your code given the following type of data (Multivariate Time Series Classification). Data Description: Output: 0 or 1. Thank you for your time. |
Hello, may I ask if you have any dependencies to run this code and if there are any files similar to "requirements. txt" |
Hi @YuliaRubanova
Really interested in the code and looking at building jupyter notebooks with alternate data sets.
I was just wondering how best to use the code on say a pandas data set?
Can this be used on a multivariate series?
Many thanks and best,
Andrew
The text was updated successfully, but these errors were encountered: