Closed nikosgavalas closed 5 years ago
Hi Nick,
Thanks for your contribution. Could you increase test coverage so that it's the same as it was before?
Thanks, MDB
Also, can you add a description of the random_state argument to the docstring?
Edit: Just realized I'm missing some descriptions for some of the other newer input arguments to init.
Hello,
I did the necessary changes.
Thanks, Nick
Looks good to me!
Added an optional parameter to the constructor of RCTree, called "random_state". It can be int, an np.random.RandomState instance of None (default), like in all sklearn modules.
This allows for optional generation of the same tree, if the same seed (int or RandomState) is provided, which is incredibly useful (for writing tests etc.)