Icon

04_​Loops

22 workflows in this folder and its subfolders

Icon
01_​Loop_​over_​a_​set_​of_​parameter_​for_​k_​means

January 1970 · The flow reads a data set to be clustered (Iris data). The data file is contained in the workflow directory. The loop will use one parameter at a time, run the (parameterized) k-means algorithm, assess the clustering quality and record the values.

Icon
02_​Example_​for_​Reading_​a_​List_​of_​Files

September 2013 · This workflow demonstrates how to read multiple files using a loop.

Icon
03_​Looping_​over_​all_​columns_​and_​manipulation_​of_​each

January 1970 · The workflow iterates over all numeric columns and negates the values in the column. The loop takes one column at a time, renames the column name to ANONYMOUS_COLUMN in the first rename node, changes the value in the math formula nodes and reverts the name to the original column name.

Icon
04_​Looping_​for_​Multiple_​Target_​Prediction

December 2015 · This workflow demonstrates the prediction of multiple targets. The first loop selects one target column per loop. You need to set the target column in the learner to the flowvariable of the column name. The second loop applies the pmml to unseen data. And compines all predictions in one file.

Icon
05_​Write_​each_​row_​in_​one_​file

December 2015 · In this workflow each file gets writen into one csv file.

Icon
06_​Writing_​a_​data_​table_​column_​wise_​to_​multiple_​csv_​files

January 1970 · This workflow shows a solution of how to write a data table column wise to multiple csv files. Each column should be written to one separate csv file. This is a solution the a question asked in the KNIME forum:

Icon
07_​Example_​for_​Recursive_​Looping

July 2014 · This workflow demonstrates the recursive loop nodes for calculating the sum from 1 to n

Icon
08_​Example_​for_​Recursive_​Replacement_​of_​Strings

January 2014 · In this workflow strings, defined in a replacement table (or dictionary) will be replaced in strings that are contained in a second data table in a recursive way. Therefor we used an recursive loop with two feedback ports.

Icon
09_​Looping_​over_​Chunks_​of_​the_​Data

December 2015 · This workflow demonstrates the usage of the "Chunk Loop Start" node.