Clone Parameters


Synopsis

Applies a set of parameters of a source operator on a target operator.


Description

Sets a list of parameters using existing parameter values. The operator is similar to ParameterSetter, but differs from that in not requiring a ParameterSet input. It simply reads a parameter value from a source and uses it to set the parameter value of a target parameter. Both, source and target, are given in the format 'operator'.'parameter'. This operator is more general than ParameterSetter and could completely replace it. It is most useful, if you need a parameter which is optimized more than once within the optimization loop - ParameterSetter cannot be used here. These parameters can either be generated by a ParameterOptimizationOperator or read by a ParameterSetLoader. This operator is useful, e.g. in the following scenario. If one wants to find the best parameters for a certain learning scheme, one usually is also interested in the model generated with this parameters. While the first is easily possible using a ParameterOptimizationOperator, the latter is not possible because the ParameterOptimizationOperator does not return the IOObjects produced within, but only a parameter set. This is, because the parameter optimization operator knows nothing about models, but only about the performance vectors produced within. Producing performance vectors does not necessarily require a model. To solve this problem, one can use a ParameterSetter. Usually, a process definition with a ParameterSetter contains at least two operators of the same type, typically a learner. One learner may be an inner operator of the ParameterOptimizationOperator and may be named "Learner", whereas a second learner of the same type named "OptimalLearner" follows the parameter optimization and should use the optimal parameter set found by the optimization. In order to make the ParameterSetter set the optimal parameters of the right operator, one must specify its name. Therefore, the parameter list name_map was introduced. Each parameter in this list maps the name of an operator that was used during optimization (in our case this is "Learner") to an operator that should now use these parameters (in our case this is "OptimalLearner").


Input


Output


Parameters


ExampleProcess