TargetEncoder.
clone
Constructs a new component with the same parameters
random_state (int) – The value to seed the random state with. Defaults to 0.
A new instance of this component with identical parameters