Icon

08 Parameter Optimization

08 Parameter Optimization
Annotations and comments
  • Exercise: Parameter Optimization Loop Optimize the number of trees in a Random Forest model. 1.1) Start with a Parameter Optimization Loop Start node. Create a parameter for the number of trees with start value=50, end value=150, and increment=10. It is an integer. 1.2) Overwrite the number of models setting in the Random Forest Learner (Regression) node with this parameter 1.3) Transform the numeric scoring metrics into flow variables. Use the Table Column to Variable node. 1.4) End with a Parameter Optimization Loop End node. Use MAPE as the objective value. What is the optimal number of trees? 50 Trees
  • Read AB_NYC_2019
  • css_sidebar
  • Column name(s)
  • number of selected columns
  • Define active switch port
  • Filter selected columns
  • selected
  • Get data types
  • Remove "(replace with X)", if present
  • Find name of numeric factory
  • Numbers factories
  • Strings factories
  • Collection of selected column names
  • Configure bypass switch
  • Empty table check
  • Regex pattern to find all selected columns
  • css_header
  • Header
  • hide_border
  • Title size
  • Title text
  • KNIME logo image in base64 format.
  • Check for no columns
  • Message text
  • Numbers
  • Strings
  • Outliers
  • Row selection strategy
  • Guide
  • Separator line
  • Empty input table
  • R2 and error metrics
  • Predict price
  • Replace price column
  • Neighborhood and room type
  • Average price
  • Top: Price=0

Nodes

Extensions

Links