Sigmoid¶
Apply a sigmoidal (dampening/squashing) transform to each element in the data.
The transform employed here is a generalization of the function y=1/1+exp(-x)), which includes pre-scaling and pre-shift as well as post-scaling and post-shift constants, which can be used to scale and shift the standard sigmoid function graph horizontally and vertically, following the modified formula: y = vshift + scale * (1/(exp(-slope*(x - hshift)))). This function can be used to ensure that the data lie in a given range, without performing a hard thresholding like the Clamp operation. See also the more... link for more information on the unmodified (standard) sigmoid transform. More Info... Version 1.1.0
Ports/Properties¶
data¶
Data to process.
hshift¶
Shift before sigmoid transform. Shifts the function graph horizontally.
vshift¶
Shift after sigmoid transform. Shifts the function graph vertically.
scale¶
Scaling after sigmoid transform. This scales the function graph vertically.
slope¶
Slope of the middle part of the sigmoidal curve. Larger values mean narrower range of squashing. Also the same as scaling before the sigmoid transform. This scales the function graph horizontally.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.