Icon

Exercise1

<p><strong>Chapter 3/Exercise 1</strong></p><p>This workflow is an exercise for string manipulation and rule creation.</p><p>The <em>Expression </em>node alone can implement the required string manipulation task. However, just to show what other nodes can do, the <em>Column Resorter</em>, the <em>Column Combiner</em> and the <em>String Replacer</em> are also shown in this exercise.</p>

URL: KNIME Beginner's Luck (Book Homepage) https://www.knime.com/knimepress/beginners-luck

Annotations and comments
  • Workflow: Chapter 3/Exercise 1 This workflow is an exercise for string manipulation and rule creation. The Expression node alone can implement the required string manipulation task. However, just to show what other nodes can do, the Column Resorter, the Column Combiner and the String Replacer are also shown in this exercise.
  • Reading data
  • Cleaning data
  • Create rule
  • String manipulation options Both branches build the sentences "inflated is T" and "not inflated is F" for inflated and not inflated balloons.
  • yellow-small.csv
  • Combining columns Class + tmp + Inflated
  • Rename columns as specified in file ballons.names
  • "Inflated" column as last column
  • if YELLOW and SMALL=> "inflated" otherwise => "not inflated"
  • Same result as from all manipulation nodes above
  • Constant column tmp = "is"
  • "not," -> "not "

Nodes

Extensions

Links