This workflow demonstrates the different database binner nodes that allow you to create new binning columns for numerical columns.
An example would be to convert a numerical column, which contains the age in years, into a categorical column with values such as children and adults. The demonstrated nodes are the DB Auto-Binner node, which automatically creates the bin boundaries e.g. by specifying the number of bins to create, the DB Numeric-Binner, which allows you to manually specify the bin boundaries, and the DB Apply-Binner node, which applies an existing binning to new data.
Notice, that the red connection ports of the database nodes only contain the SQL statement and connection information but not the data itself. The statement is processed within the database e.g. Oracle, MySQL, Postgres, DB2, SQL Server, Hive, Impala, etc. and the result is read into the KNIME Analytics Platform via the DB Reader node.
External resources
Used extensions & nodes
Created with KNIME Analytics Platform version 4.1.0
Legal
By using or downloading the workflow, you agree to our terms and conditions.