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

Add DataframeDataset example #2406

Open
wangjiawen2013 opened this issue Oct 23, 2024 · 4 comments
Open

Add DataframeDataset example #2406

wangjiawen2013 opened this issue Oct 23, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@wangjiawen2013
Copy link
Contributor

Hi,
The dataframe dataset has already been merged into burn and is demonstrated in burns book:
image

But I cannot find it in burn's docs and examples, where is it ?

@HessTaha
Copy link

HessTaha commented Oct 23, 2024

Hello,

The code is separated in differents crates.
You Can find the dataset crate under the crates folder: https://github.com/tracel-ai/burn/tree/main/crates%2Fburn-dataset.

You can find an example of the InMemDataset:

I don't know if there are more examples

@laggui
Copy link
Member

laggui commented Oct 23, 2024

Right now there are no examples which make use of the DataframeDataset (which is under the dataframe feature flag for the dataset module).

I agree that it would be nice to have at least a snippet for its usage. I'll convert this issue to track this addition.

@laggui laggui changed the title where is dataframe dataset Add DataframeDataset example Oct 23, 2024
@laggui laggui added documentation Improvements or additions to documentation good first issue Good for newcomers labels Oct 23, 2024
@antimora
Copy link
Collaborator

Yeah it'd be great if we have example. Meanwhile you can see some basic tests:

https://github.com/tracel-ai/burn/blob/main/crates/burn-dataset/src/dataset/dataframe.rs

@antimora
Copy link
Collaborator

BTW, the API is available via a dataframe feature flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants