Skip to content

Conversation

@ablaom
Copy link
Member

@ablaom ablaom commented Nov 29, 2022

dhanak and others added 5 commits November 28, 2022 18:38
Using `rand(_rng, i)` didn't really put all copies of `rng` into a
unique state, the states were still interlocked (all the generators
produced same sequence of random numbers with some offset). Calling `
seed!` with a deterministic, pseudo-random seed for each thread produces
much better results, which is also visible in the classification and
regression accuracies produced by the tests.
Use seed! to put every copy of rng into a unique state
@codecov-commenter
Copy link

codecov-commenter commented Nov 29, 2022

Codecov Report

Merging #199 (3b34a28) into master (c199322) will not change coverage.
The diff coverage is 100.00%.

❗ Current head 3b34a28 differs from pull request most recent head a072539. Consider uploading reports for the commit a072539 to get more accurate results

@@           Coverage Diff           @@
##           master     #199   +/-   ##
=======================================
  Coverage   87.97%   87.97%           
=======================================
  Files          10       10           
  Lines        1247     1247           
=======================================
  Hits         1097     1097           
  Misses        150      150           
Impacted Files Coverage Δ
src/classification/main.jl 96.10% <100.00%> (ø)
src/regression/main.jl 88.46% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ablaom ablaom merged commit 5a04aba into master Nov 29, 2022
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

Successfully merging this pull request may close these issues.

4 participants