dtreeviz icon indicating copy to clipboard operation
dtreeviz copied to clipboard

Make all random calls reproducible

Open mepland opened this issue 2 years ago • 2 comments

Only one np.random call is proceeded by a np.random.seed(0) call. We should review and make sure all random calls have seeds set and thus are reproducible.

mepland avatar Jan 22 '23 23:01 mepland

I wonder if we should simply remove those calls to seed() and then allow the user to specify a seat at the start of their notebook?

parrt avatar Jan 29 '23 19:01 parrt

@parrt, if we did that the plots would be reproducible only if the user executed their notebook / code in the same order. I think it would be better to set the seed within each plotting function.

mepland avatar Feb 02 '23 02:02 mepland