Closed Shitao5 closed 10 months ago
Hi, thanks for the heads-up about the typo. However, it is not actually necessary to set the seed here, as noted here: the included _setup.qmd
at the top already sets a seed.
Also just to point out the results are consistent. The number 5
references the above code chunk, plotting then shows you that 4
would be just as good
The addition of a random seed
set.seed(1234)
makes the results of the random searchtnr("random_search")
reproducible and aligns with the current description in the book.