Icon

20230105 Pikairos Cross Validation Loop - How to take flow variables outside the loop

This workflow shows how to combine a -X-Partitioner- node to a -Loop End- node to individually gather information (Data / Variables / Images) from the different Cross Validation iterations.

This workflow brings a possible answer to the question asked by @aravind98 in post #58338 of the KNIME forum.

Read adult_joined.table5 PartitionCross-Validationscoring metricsNode 22Join Current iterationVariablesTrain the modelto predict incomeJoin all CurrentIteration ResultsApply the modelto the test setAppend AUCto ROC ImageGather Each Iteration Resultswith a NormalConcatenation Loop EndCros ValidationStatisticsTable Reader X-Partitioner Scorer (JavaScript) ROC Curve Variable toTable Row Joiner RowID RowID DecisionTree Learner Joiner Decision TreePredictor Image To Table Column Appender Loop End InteractiveTable (local) Read adult_joined.table5 PartitionCross-Validationscoring metricsNode 22Join Current iterationVariablesTrain the modelto predict incomeJoin all CurrentIteration ResultsApply the modelto the test setAppend AUCto ROC ImageGather Each Iteration Resultswith a NormalConcatenation Loop EndCros ValidationStatisticsTable Reader X-Partitioner Scorer (JavaScript) ROC Curve Variable toTable Row Joiner RowID RowID DecisionTree Learner Joiner Decision TreePredictor Image To Table Column Appender Loop End InteractiveTable (local)

Nodes

Extensions

Links