Copies param values from this instance to another instance for params shared by them.

Copies param values from this instance to another instance for params shared by them.

This handles default Params and explicitly set Params separately.
Default Params are copied from and to defaultParamMap, and explicitly set Params are
copied from and to paramMap.
Warning: This implicitly assumes that this Params instance and the target instance
share the same set of default Params.

to

the target instance, which should work with the same set of default Params as this
source instance

Extracts the embedded default param values and user-supplied values, and then merges them with
extra values from input into a flat param map, where the latter value is used if there exist
conflicts, i.e., with ordering:
default param values less than user-supplied values less than extra.

Extracts the embedded default param values and user-supplied values, and then merges them with
extra values from input into a flat param map, where the latter value is used if there exist
conflicts, i.e., with ordering:
default param values less than user-supplied values less than extra.

Check transform validity and derive the output schema from the input schema.

We check validity for interactions between parameters during transformSchema and
raise an exception if any parameter value is invalid. Parameter value checks which
do not depend on other parameters are handled by Param.validate().