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

improve UX for as_task* (documentation and error handling) #933

Open
mb706 opened this issue Jun 18, 2023 · 0 comments
Open

improve UX for as_task* (documentation and error handling) #933

mb706 opened this issue Jun 18, 2023 · 0 comments
Assignees
Labels

Comments

@mb706
Copy link
Collaborator

mb706 commented Jun 18, 2023

When I have a dataset that I want to convert to a task, my first intuition would be to look up the help text of as_task. However, it does not tell me much about what it is doing, or where to go to convert some data that I have to a task.

Error handling for as_task_classif and related could also be improved:

as_task_classif(iris)
#> Error in .subset2(x, i, exact = exact) : 
#>   attempt to select less than one element in get1index
@berndbischl berndbischl self-assigned this Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants