0 ×

Model Fitting

Node extensions for KNIME Workbench version by BfR

The Model Fitting node uses mathematical formulas (e.g. primary or secondary models) and estimates parameters in order to fit a curve to data (e.g. microbial concentrations). In predictive microbiology, important parameters are the maximum growth / inactivation rate (µmax / kmax), the lag phase duration as well as the initial and maximum cell concentration.


Primary Fitting Fits a primary model formula to a time series of data points. For example, a curve will be fitted to time/concentration data on microbial growth. According to the chosen mathematical model formula, parameters are estimated (e.g. for maximum growth rate and lag phase duration).

Secondary Fitting Fits a secondary model formula to parameters of primary models. For example, if primary models for microbial growth have been estimated for different temperatures, it is possible to fit a secondary model to the different maximum growth rates. This enables the user to predict the maximum growth rate for any temperature between the minimum and maximum temperatures of the primary model.

One-Step Fitting Fits an omnibus model / a combined formula of one primary and one or more secondary formulas to data. Dependent on the amount of data sets the execution of the node may take longer than two minutes.
Enforce Limits of Formula Definition
Force model fitting within the given parameter limits (min/max). If not checked the fitting may also use parameter values lower than min or higher than max.
Expert Settings
Tick this option if you would like to have more control over the fitting options or if the fitting failed.

Nonlinear Regression Parameters:
Edit the number of Maximal Evaluations to Find Start Values (default is 10000) or the Maximal Executions of the Levenberg Algorithm (default is 10) to find a balance between precision and the speed of fitting. With the default values the Levenberg algorithm will be performed for the 10 best start values. For faster but less precise results tick Stop When Regression Successful. In this case the first successful fit will be used.

Specific Start Values for Fitting Procedure - Optional:
For every model used in the Fitting Node minimum and maximum values can be set. This is especially useful if the automatic fitting is not successful. Default values are those saved with the model formula. If the values were changed the button Use Range from Formula Definition can restore the default values. Empty all cells with Clear or auto fill-in ranges from -1 million to +1 million with Fill Empty Fields.

Input Ports

Needs models and data from the PMM Joiner

Output Ports

Fitted models (models, goodness of fit, estimated parameters) and data

Best Friends (Incoming)

Best Friends (Outgoing)


To use this node in KNIME, install PMM Nodes from the following update site:


You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.


You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.