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

Handle local data. #420

Merged
merged 10 commits into from
Dec 4, 2023
Merged

Handle local data. #420

merged 10 commits into from
Dec 4, 2023

Conversation

marcenacp
Copy link
Contributor

@marcenacp marcenacp commented Dec 4, 2023

Add a warning when the local data does not exist.
Save the data locally.
Encoding formats are in a select box.
Download files in data/ for Titanic
Use python-magic to guess the file type.
Add info on RecordSets.
Allow to re-trigger the dataset generation.
Gamify the experience with a percentage of completion.

@marcenacp marcenacp requested a review from a team as a code owner December 4, 2023 09:07
Copy link

github-actions bot commented Dec 4, 2023

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@marcenacp marcenacp requested a review from pierrot0 December 4, 2023 09:20
Copy link
Contributor

@pierrot0 pierrot0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

elif file_type == FileTypes.PARQUET:
return pd.read_parquet(file)
df = pd.read_parquet(file)
else:
raise NotImplementedError()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a message, something like "File format XXX no supported"? That's less cryptic, and people know what to ask for.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in another PR (1d2ccf9).

@marcenacp marcenacp merged commit 8b8c717 into main Dec 4, 2023
13 checks passed
@marcenacp marcenacp deleted the feature/local-data branch December 4, 2023 17:32
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants