MLJModels.jl icon indicating copy to clipboard operation
MLJModels.jl copied to clipboard

Expose rng hyperparameter in DecsionTreeRegressor/Classifier

Open ablaom opened this issue 5 years ago • 1 comments

The DecisionTree.jl models now have rng as a hyperparameter, which MLJModels should expose.

default value: nothing (meaning use GLOBAL_RNG) type: Union{Int,AbstractRNG}

If set to integer, then fit method should pass rng_internal = MersenneTwister(rng) to DecisionTree package.

ablaom avatar Apr 08 '20 19:04 ablaom

Optionally combine with #177

ablaom avatar Apr 09 '20 22:04 ablaom

This appears to have been sorted.

ablaom avatar Feb 04 '24 23:02 ablaom