Sigmoid Activation Function
Neural Units & Activations DS practice problem on Onlearn.
Difficulty: easy.
Topics: Understanding Sigmoid Activation Function Understanding, Sigmoid Function, Rounding Precision, Exponential Decay, Non-linear Mapping, Vanishing Gradient, Deep Learning Foundations, Numerical Analysis, Calculus, Probability Theory, Software Engineering, Neural Units & Activations, Floating Point Arithmetic, Differential Equations, Statistical Distributions, Algorithm Complexity.
Write a Python function that computes the output of the sigmoid activation function given an input value z. The function should return the output rounded to four decimal places.