This workflow is designed to illustrate the process of model selection. The considered models are polynomials of degree 1 to 10.
It is shown that training error always decreases with degree (i.e., with model flexibility). Initially, test error also decreases with degree but, in stark contrast with training error, test error ends up increasing (overfitting). This is shown estimating the test error both with validation and cross validation.
Finally, we illustrate how you can use regularization to reduce overfitting.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!