-
Notifications
You must be signed in to change notification settings - Fork 25
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
Trajectory Datasets #28
Comments
@Saran-nns was the current dataset.py written by you? Do you mind if it is hacked up to output a dataframe instead of Torch tensor? |
Apart from what mentioned above, At the moment, So we expect a separate utility function for available dataset as, def load_data(dataset:str):
Once this is done, we can easily set traja dataframe as default data format by replacing |
@JustinShenk the current handling is intended to be a middle ground between Torch and Pandas. The neural networks require time series and just about nothing else does, so time series are handled as tensors. However, I agree that the networks should output dataframes when they are 'done' so things can interoperate with the rest of Traja. I am just a bit unclear on the finer details of this interface. |
We haven't added the functions for post-training predictions/inferences yet. I will update Trainer to return the network prediction on the test dataset as traja data frame. |
@WolfByttner I am preparing the UML diagram for traja commit #26 . That might easily guide collaborators |
his (rather huge) Mallard dataset has temperature, as a possible regression parameter: https://www.movebank.org/cms/webapp?gwt_fragment=page=studies,path=study3109235 You also have geese here (with temps - slightly less volatile such): https://www.movebank.org/cms/webapp?gwt_fragment=page=studies,path=study83912796 https://www.movebank.org/cms/webapp?gwt_fragment=page=studies,path=study577905925 - This dataset has genders and temporal classes. Very interesting https://www.movebank.org/cms/webapp?gwt_fragment=page=studies,path=study933711994 |
Enable loading trajectory datasets via Traja API:
An early attempt, designed for Pedestrian datasets (hence,
ped_id
): https://github.com/traja-team/traja/blob/master/traja/datasets/dataset.py anddata/loader.py
.id
.Returns a
TrajaDataFrame
(a pandasDataFrame
converted viatrj = traja.TrajaDataFrame(df)
(see https://traja.readthedocs.io/en/latest/reading.html for more on this).A similar API to GeoPandas would be nice (https://stackoverflow.com/a/51625390/6256888), eg,
traja.datasets.available
. Look here for more inspiration: https://github.com/geopandas/geopandas/tree/master/geopandas/datasets.The text was updated successfully, but these errors were encountered: