0 ×

**KNIME Optimization extension** version **4.2.0.v202005042102** by **KNIME AG, Zurich, Switzerland**

This node finds (near)optimal fixed-sized subsets of rows based
one one or more criteria. It uses the
NSGA-II algorithm
to find an approximation of the set of non-dominated solutions, i.e. the
*Pareto front*
.

In the dialogue you can choose which column from the input table should be optimized in which way. Each
column represents an objective which - together with a function on that column, like sum of all values in
the selected set or average distance of all values - can either be minimized or maximized. By default each
objective is
*maximized*
, thus if you want to minimize negate the objective.

The node runs until a certain number of individuals have been evaluated. You can also stop the search
manually in the node's view.

- Number of rows
- Choose the number of rows the solution should contain
- Output nondominated solutions only
- If this option is checked, only nondominated solutions (the Pareto front approximation) are output. Otherwise all examined solutions are output (which can be quite a few).
- Enable hiliting
- If selected, the resulting solution at the output table can be hilit and the contained rows in the input table are hilit, too.
- Compute hypervolume
- Enables the computation of the hypervolume enclosed by the Pareto front approximations. You need to provide a reference point which is dominated by all solutions. The reference point must be entered in the text field, with the coordinates separated by spaces. The number and order of coordinates must match the number and order of the objectives. Hypervolume computation is very expensive if more than two objectives are used, therefore an approximation algorithm is used.

- Column List
- This list shows all available columns from the input table (and some static function). The columns can be used to together with a certain function to create an expression in the "Expression" field.
- Flow Variable List
- This list shows all available flow variables. They can be used similar to column names or as constants in an expression.
- Function
- This list shows all available functions. A description of the function will appear on the right once it is selected. Note certain functions only work with certain column types, e.g. distance matrices or numeric columns.
- Expression
- In this field you can built an arithmetic expression that is used as one objective function.

- Population size
- How many individuals are in one population evolved by the GA.
- Mutation probability
- The probability that a newly generated solution is mutated.
- Maximum individuals created
- The maximum number of individuals that will be evaluated before the node stops automatically.
- Gene representation
- Select a gene representation for subsets here.

- A list of non-dominated solutions found during the search, together with their objective values and the rows from the input table that are contained in the solution.
- This table contains the evolution of the hypervolume of the Pareto front.
- A list of non-dominated solutions found during the search, together with their objective values and the rows from the input table that are contained in the solution. This model can be used with the Rowset Filter node to filter out certain rows from the input table.

- Pareto front
- Show all non-dominated solutions found so far. This view is updated during the search. The search can be stopped from the view and the currently found solutions are available at the output port. If hypervolume computation is enabled the second tab will show the evolution of the hypervolume.

- Multiobjective Score Computation (20 %)
- Distance Matrix Calculate (18 %)
- Math Formula (8 %) Streamable
- Column Filter (6 %) Streamable
- Sorter (5 %)
- Show all 40 recommendations

- Multiobjective Score Computation (33 %)
- Rowset Filter (33 %)
- Score Erosion (7 %)
- Column Filter (6 %) Streamable
- k-Medoids (3 %)
- Show all 24 recommendations

- 02_Optimizing_Subset_Selection (KNIME Hub)

To use this node in KNIME, install KNIME Optimization extension from the following update site:

KNIME 4.2

A zipped version of the software site can be downloaded here. Read our FAQs to get instructions about how to install nodes from a zipped update site.

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.

Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com, follow @NodePit on Twitter, or chat on Gitter!

Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.