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

Error loading learner regr.lm #325

Open
wolfgang5o5 opened this issue Nov 21, 2024 · 2 comments
Open

Error loading learner regr.lm #325

wolfgang5o5 opened this issue Nov 21, 2024 · 2 comments

Comments

@wolfgang5o5
Copy link

While code was working before, now I get an error when loading learner regr.lm

learner_lm = lrn("regr.lm")
Error in sort(assert_subset(properties, mlr_reflections$learner_properties[[task_type]])) :
Assertion on 'properties' failed: Must be a subset of {'featureless','missings','weights','importance','selected_features','oob_error','hotstart_forward','hotstart_backward','validation','internal_tuning','marshal'}, but has additional elements {'loglik'}.

R version 4.3.3
mlr3learners version 0.8.0

@be-marc
Copy link
Member

be-marc commented Nov 21, 2024

You use a combination of mlr3 from github and mlr3learners from CRAN. Installing mlr3learners also from github should fix the issue.

@wolfgang5o5
Copy link
Author

wolfgang5o5 commented Nov 21, 2024 via email

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

2 participants