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

rd_info.ParamSet suboptimal for function arguments #353

Open
sebffischer opened this issue Nov 17, 2021 · 2 comments
Open

rd_info.ParamSet suboptimal for function arguments #353

sebffischer opened this issue Nov 17, 2021 · 2 comments

Comments

@sebffischer
Copy link
Member

sebffischer commented Nov 17, 2021

For parameter sets with functional parameters the parameter table contains the function source code as can be seen in the example below

library(mlr3extralearners)
learner = lrn("classif.C50")
learner$help()

Created on 2021-11-17 by the reprex package (v2.0.1)

In this case it is not a big issue because the function is rather short but in general it might lead to issues.

@sebffischer
Copy link
Member Author

Related issue: yihui/knitr#2075

@sebffischer
Copy link
Member Author

Decision: Use substitute in p_uty to construct attribute repr that is then called by rd_info.ParamSet

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

No branches or pull requests

1 participant