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 when training enet model in latest version #20

Open
adamsorbie opened this issue Mar 14, 2021 · 2 comments
Open

Error when training enet model in latest version #20

adamsorbie opened this issue Mar 14, 2021 · 2 comments

Comments

@adamsorbie
Copy link

adamsorbie commented Mar 14, 2021

Hi,

I think there might be a bug in the latest version, specifically somehwere in the code for training an elastic net model. I was receiving this error: "Error in setHyperPars2.Learner(learner, insert(par.vals, args)) : is not feasible for parameter 'alpha'!" but I noticed it works fine if I explicitly set a fixed alpha value with param.set.

@jakob-wirbel
Copy link
Collaborator

Hi @adamsorbie

Thanks very much for your feedback! Yeah, i already encountered this error as well before. Are you using the latest Bioconductor version or the development version from Github?

Maybe you could try to install the latest version of the package via devtools:

require("devtools")
devtools::install_github(repo = 'zellerlab/siamcat')

Did this fix your error?

@adamsorbie
Copy link
Author

I'm using the latest version, 3.12. Unfortunately not, I still get the same error. I see there's also is a deprecation warning from mlr when loading SIAMCAT, Maybe the problem is in there? Are you planning to update the package to use mlr3?

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