added seed restart

Thu, 18 Apr 2024 11:31:32 +0300

author
Neil Dizon <neil.dizon@helsinki.fi>
date
Thu, 18 Apr 2024 11:31:32 +0300
changeset 7
4bbb246f4cac
parent 6
72bcc5f492df
child 8
e4ad8f7ce671

added seed restart

src/ImGenerate.jl file | annotate | diff | comparison | revisions
--- a/src/ImGenerate.jl	Thu Apr 18 10:51:10 2024 +0300
+++ b/src/ImGenerate.jl	Thu Apr 18 11:31:32 2024 +0300
@@ -142,6 +142,9 @@
                               datachannel :: Channel{OnlineData{DisplacementConstant}},
                               params :: NamedTuple)
 
+    # Restart the seed to enable comparison across predictors                       
+    Random.seed!(rng,9182737465) 
+
     nextv = shake(params)
     v_true = nextv()
     v_cumul = copy(v_true)

mercurial