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

the result is unproducible when select features #2862

Open
DrZhaoJie opened this issue Jul 1, 2023 · 0 comments
Open

the result is unproducible when select features #2862

DrZhaoJie opened this issue Jul 1, 2023 · 0 comments
Labels

Comments

@DrZhaoJie
Copy link

Hi, my code is as below, to select the best set of features. but every time I run the code, the result was different. As you see, I have set the seed. Then, what's the reason? How can I solve it to reproduce the result?

set.seed(3333)
lrn = makeFeatSelWrapper("regr.gausspr", resampling = makeResampleDesc("CV", iters = 10),
control = makeFeatSelControlSequential(method = "sbs"), show.info = FALSE)
mod = train(lrn, task = train.task)
sfeats = getFeatSelResult(mod)
sfeats

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

1 participant