Creates a column containing a probability distribution either from numeric columns or a single string
column. In case of numeric columns, one or more columns that contain probability values can be picked.
The probability values must be non-negative and must sum up to 1.
In case of a string column, one
single column can be selected. The probability distribution of the string column produces a one-hot
encoding of the string column. In order to do this, the column must have a valid domain, i.e., the
possible values of the column must be known. You can use a Domain Calculator to calculate these
values if they are not present. Each of the possible values will be treated as a separate class, i.e.,
the number of distinct values in the string column will be the number of classes in the created
probability distribution. The string value of a cell will have a probability of 1 whereby all the other
possible string values of the column will have a probability of 0. The same output can be achieved by
creating a probability distribution of the numeric output columns of the One to Many node applied
to the same string column.
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.
To use this node in KNIME, install the extension KNIME Base nodes from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!