KNIME - Part III: Descriptor scaling
Scale the training set
- Put File Reader node (IO->Read) to workbench and configure it to load a training set from a file.
- Put Normalizer node (Data Manipulation->Column) to workbench and connect the output port from the File Reader node to its input port.
- Configure it by choosing Min-Max Normalization with the Min set as 0.0 and Max set as 1.0.
- Select the columns to normalize.
- Put Model Writer node (IO->Write) to workbench and connect the model port of the Normalizer node to its input port. Configure it to save the model to a file.
- Execute all nodes.
Scale the testing set
- Put File Reader node (IO->Read) to workbench and configure it to load a testing set from a file.
- Put Normalizer (Apply) node (Data Manipulation->Column) to workbench and connect the output port from the File Reader node to its input port.
- Put Model Reader node (IO->Read) to workbench and connect its output port to the model port of the Normalizer (Apply) node. Configure it to load the model that is saved during the scaling of the training set.
- Execute all nodes.
KNIME score full marks for its ease in scaling descriptors.
Share This