Skip to content

fix(task): don't call $data() unnecessarily #1262

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

Merged
merged 2 commits into from
Feb 13, 2025
Merged

fix(task): don't call $data() unnecessarily #1262

merged 2 commits into from
Feb 13, 2025

Conversation

sebffischer
Copy link
Member

@sebffischer sebffischer commented Feb 13, 2025

For tasks in mlr3torch, $data() can cause downloads of large files, but it should be possible to construct tasks without downloading the data (e.g. for as.data.table(mlr_tasks)).

For tasks in mlr3torch, `$data()` can cause downloads
of large files, but it should be possible to construct
tasks without downloading the data (e.g. for
as.data.table(mlr_tasks)).
@be-marc be-marc merged commit b534950 into main Feb 13, 2025
3 checks passed
@be-marc be-marc deleted the fix-task branch February 13, 2025 13:51
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

Successfully merging this pull request may close these issues.

2 participants