Hub
Pricing About
WorkflowWorkflow

Parameter Optimization Loop with Cross Validation

Parameter optimizationOptimizationMachine learningOnboardingData Science
+3
knime profile image
Draft Latest edits on 
Sep 21, 2017 11:47 AM
Drag & drop
Like
Download workflow
Workflow preview
This workflow shows an example of parameter optimization in a logistic regression model. In the logistic regression we optimize step size and variance. The different parameters are output as flow variables by the Parameter Optimization Loop Start node. The parameter settings of the logistic regression algorithm are overwritten by the flow variables and trees with different settings are trained. Since this is a binary classification we can use the ROC Curve node and create a flow variable with the AUC in each iteration. This is then fed into the Parameter Optimization Loop End node. The end node compares the accuracies and supplies the best value in the first output. We use "Hill Climbing Strategy". Please notice that in each iteration cross validation is adopted in order to test the combination of parameters over different folds and get an average performance. This should avoid finding a set of parameter values which performs well only on the training data, but which does not work for new data. That is we are avoiding to overfitting parameters on a training partition.

External resources

  • ML Algorithms and the Art of Parameter Selection - KNIME Blog
  • Parameter Optimization Video - KNIME TV - YouTube
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 4.5.2
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.2

    knime profile image
    knime
  • Go to item
    KNIME JavaScript ViewsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.2

    knime profile image
    knime
  • Go to item
    KNIME Optimization extensionTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.0

    knime profile image
    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits