Skip to content

We need to find way to control random seed and amount of threads at least for tests. #135

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

Closed
Ivanidzo4ka opened this issue May 11, 2018 · 4 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Ivanidzo4ka
Copy link
Contributor

Currently out pipeline.Train function creates
using (var environment = new TlcEnvironment())
which is nice, but it doesn't specify seed which become random and concurrency which force algorithms to use all threads available on machine. Which can result in different metrics, predictions and any other stuff we assert in tests.

@GalOshri
Copy link
Contributor

Related to #9

@TomFinley
Copy link
Contributor

TomFinley commented May 11, 2018

Hmm, yes. In this case, I suppose, Rand and ConcurrencyFactor.

Hi @glebuk , hi @KrzysztofCwalina ... here's another issue to add to the pile of those that could be easily addressed just by exposing the existing functionality of IHostEnvironment.

@shauheen
Copy link
Contributor

closing as some solution was merged and the underlying issue will be handled differently after #371 gets implemented.

@ghost ghost locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants