Nominal Category to Binominal Value

It is often useful to build a learning process on true/false observations. The outputs are discrete and allows for testing and training on a variety of data.

Does Knime have a node that can convert the nominal values in one column to multiple columns that are labeled with the category name and contains an associated “true” or “false” value?

1 Big
2 Small
3 Medium

Converts to

ID A Big Small Medium
1 Big true false false
2 Small false true true
3 Medium false false true

As always - any advice is appreciated.
I am thinking of doing a “variable to column” with some type of counter mechanism followed by a cell replacement or discretizer - I may be over-complicating it.

I figured out that there is a One to Many node that does this. Brilliant Knime :slight_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.