{"title":"Nominal Probability Distribution Creator","nodeType":"Manipulator","id":"*TD93rewy2eMlDiSJ","factoryName":"org.knime.base.node.preproc.probability.nominal.creator.NominalDistributionCreatorNodeFactory","factoryId":"org.knime.base.node.preproc.probability.nominal.creator.NominalDistributionCreatorNodeFactory","path":["Manipulation","Column","Split & Combine"],"owner":"knime","ownerAccountId":"account:team:b5f0848f-496d-4e6a-b869-fa3532248db7","description":"<p>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.\n <br />\n 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 <i>Domain Calculator</i> 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 <i>One to Many</i> node applied to the same string column.</p>\n        ","shortDescription":"Creates a Nominal Probability Distribution cell out of numeric cells.","keywords":[],"deprecated":false,"streamable":true,"tags":["Manipulation","Column","Split & Combine","Streamable"],"icon":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsSAAALEgHS3X78AAAAV0lEQVQ4jd2SUQrAIAxDX8YO7s2zHwdaRRQHwgL5iSXEtNiuCCTAmSm+R15s4rzB3SgdSPKr2lY58YcORv+bMmiUDkbGy1uISbc7UL7/ueGQ5JMEhzsAHrI/Pf91O3iFAAAAAElFTkSuQmCC","views":[],"inPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Probability Values","description":"Data with columns containing probability values or a column containing string values."}],"outPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Input Data with Nominal Probability Distribution","description":"Input data with an appended column that contains the nominal probability distribution."}],"dynInPorts":[],"dynOutPorts":[],"additionalSiteInformation":{"url":"https://update.knime.com/analytics-platform/5.12","trusted":true,"enabledByDefault":true,"name":"KNIME Analytics Platform 5.12 Update Site","version":"5.12.0"},"dialog":[{"sectionName":"Options","fields":[{"name":"Column type","description":"Choose whether to create probability distributions from numeric columns or a single string column.\n<ul><li><b>Numeric columns</b> : Creates probability distributions from one or more numeric columns containing probability values.</li><li><b>String column</b> : Creates a one-hot encoded probability distribution from a single string column.</li></ul>","optional":false},{"name":"String column","description":"Select a single string column with a valid domain to create a one-hot encoding probability distribution. I.e., the number of distinct values in the string column will be the number of classes in the created distribution and the string value of a cell will have probability 1 whereby all other possible string values of a cell will have a probablity of 0.","optional":false},{"name":"Numeric columns","description":"Move the columns that contain the probability values to the &#34;Include&#34; list.","optional":false},{"name":"Allow probabilities that sum up to 1 imprecisely","description":"If enabled, the probabilities must not sum up to 1 precisely. This might be helpful if there are, e.g., some rounding errors in the probability values.","optional":false},{"name":"Precision (number of decimal digits)","description":"Defines the precision that the sum of the probabilities must have by restricting the number of decimal digits that must be precise. The sum is accepted if <i>abs(sum - 1) &lt;&#61; 10^(-precision)</i> , e.g., if the sum is 0.999, it is only accepted with a precision of &lt;&#61;2. The lower the specified number, the higher is the tolerance.","optional":false},{"name":"Invalid probability distribution handling","description":"Specify how to treat invalid probabilities. Invalid means, e.g., negative probabilities or probabilities that do not sum up to 1 (with respect to the specified precision). If <i>Fail</i> is selected, the node will fail. Otherwise, the node just gives a warning and puts missing values in the output for the corresponding rows.","optional":false},{"name":"Output column name","description":"Specify the name of the created column containing the probability distribution.","optional":false},{"name":"Remove included columns","description":"If selected, the included numeric columns or the picked string column will be removed from the output.","optional":false},{"name":"Missing value handling","description":"Specify how to treat a missing value in one of the input columns. If &#39;Fail&#39; is selected, the node will fail. If &#39;Ignore&#39; is selected, the node just gives a warning and puts missing values in the output for the corresponding rows. If &#39;Treat as zero&#39; is selected, the missing value will be treated as 0.","optional":false}]}],"links":[],"kudos":[],"kudosCount":0,"bundleInformation":{"bundleVersion":"5.12.0.v202606261225","bundleName":"KNIME Base Nodes","bundleSymbolicName":"org.knime.base","bundleVendor":"KNIME AG, Zurich, Switzerland","featureSymbolicName":"org.knime.features.base","featureName":"KNIME Base nodes","featureVersion":"5.12.0.v202606261225","featureVendor":"KNIME AG, Zurich, Switzerland","extensionId":"*bjR3r1yWOznPIEXS"},"frequentSuccessors":[]}
