Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Public worksheets for UCLA's Mathematics for Life Scientists course
Note: To run any of the interactives in this worksheet, make sure you're signed in to your CoCalc account, and click “Open in CoCalc” at the top right of this window.
A “saturating” function
It increases at first, but only up to a maximum (saturation) level.
Parameters:
the saturation level, the value that approaches as gets large (think for maximum)
the half-saturation point, the value at which
Example with and :
Variation on the above: a sigmoid function
It has an “S” shape (sort of), which is where the term “sigmoid” comes from.
It also increases only up to a maximum (saturation) level, but it starts out flat (horizontal) for low values, then curves upward, before leveling off. The exponent controls the steepness of the transition from low values to high values. Note: Often, we just use , so that the function simplifies to
Parameters:
the saturation level, the value that approaches as gets large (think for maximum)
the half-saturation point, the value at which
a parameter that controls the steepness
Example with and (and ):
A “de-saturating” function
It decreases, from its initial (maximum) level, down to near zero.
Parameters:
the initial (maximum) level, the value of at
the half-saturation point, the value at which
A decreasing sigmoid function
This one has a backwards “S” shape. Like the de-saturating function, it decreases from its initial (maximum) level down to near zero, but it starts out flat (horizontal) for low values, then curves downward, before leveling off. The exponent controls the steepness of the transition from low values to high values. Note: Often, we just use , so that the function simplifies to
Parameters:
the initial (maximum) level, the value of at
the half-saturation point, the value at which
a parameter that controls the steepness