Categories

Versions

You are viewing the RapidMiner Studio documentation for version 9.2 - Check here for latest version

Optimize Parameters (Quadratic) (RapidMiner Studio Core)

Synopsis

This operator finds the optimal values for parameters using a quadratic interaction model.

Description

This operator finds the optimal values for a set of parameters using a quadratic interaction model. The parameter parameters is a list of key value pairs where the keys are of the form OperatorName.parameter_name and the value is a comma separated list of values (as for the GridParameterOptimization operator).

The operator returns an optimal ParameterSet which can as well be written to a file with a ParameterSetLoader. This parameter set can be read in another process using an ParameterSetLoader.

The file format of the parameter set file is straightforward and can also easily be generated by external applications. Each line is of the form operator_name.parameter_name = value .

Differentiation

Optimize Parameters (Evolutionary)

The Optimize Parameters (Evolutionary) operator finds the optimal values for a set of parameters using an evolutionary approach which is often more appropriate than a grid search (as in the Optimize Parameters (Grid) operator) or a greedy search (as in the Optimize Parameters (Quadratic) operator) and leads to better results. The Optimize Parameters (Evolutionary) operator might be useful if the best ranges and dependencies are not known at all.

Optimize Parameters (Grid)

The Optimize Parameters (Grid) operator executes its subprocess for all combinations of the selected values of the parameters and then delivers the optimal parameter values.

Input

  • input (IOObject)

    This operator can have multiple inputs. When one input is connected, another input port becomes available which is ready to accept another input (if any). The order of inputs remains the same. The Object supplied at the first input port of this operator is available at the first input port of the nested chain (inside the subprocess). Do not forget to connect all inputs in correct order. Make sure that you have connected the right number of ports at the subprocess level.

Output

  • performance (Performance Vector)

    This port delivers the Performance Vector for the optimal values of the selected parameters. A Performance Vector is a list of performance criteria values.

  • parameters (Parameter Set)

    This port delivers the optimal values of the selected parameters. This optimal parameter set can also be written to a file with the Write Parameters operator. The written parameter set can be read in another process using the Read Parameters operator.

  • result (IOObject)

    Any additional results of the subprocess are delivered through the result ports. This operator can have multiple outputs. When one result port is connected, another result port becomes available which is ready to deliver another output (if any). The order of outputs remains the same. The Object delivered at the first result port of the subprocess is delivered at the first result port of the operator. Don't forget to connect all outputs in correct order. Make sure that you have connected the right number of ports.

Parameters

  • configure_operatorConfigure this operator by means of a Wizard. Range:
  • parametersThe parameters Range: list
  • error_handlingThis parameter allows you to select the method for handling errors occurring during the execution of the inner process. It has the following options:
    • fail_on_error: In case an error occurs, the execution of the process will fail with an error message.
    • ignore_error: In case an error occurs, the error will be ignored and the execution of the process will continue with the next iteration.
    Range: selection
  • if_exceeds_regionWhat to do if region is exceeded.
    • ignore:
    • clip:
    • fail:
    Range: selection
  • if_exceeds_rangeWhat to do if range is exceeded.
    • ignore:
    • clip:
    • fail:
    Range: selection