binarytree icon indicating copy to clipboard operation
binarytree copied to clipboard

Set seed for controlling randomness

Open hlfernandez opened this issue 1 year ago • 0 comments

It would be nice to have a way to set the seed (or random state) for creating random trees. For instance, something like bst(4, random_state=42) would return always the same random tree.

Thanks!

hlfernandez avatar Feb 16 '24 08:02 hlfernandez