What is the name of the function in the following statement “A perceptron adds up all the weighted inputs it receives, and if it exceeds a certain value, it outputs a 1, otherwise it just outputs a 0”? A. Step function B. Heaviside function C. Logistic function D. Perceptron function

Step function
Heaviside function
Logistic function
Perceptron function

The correct answer is A. Step function.

A step function is a function that takes a value of 0 for inputs below a certain threshold and a value of 1 for inputs above that threshold. This is the same as the function described in the statement, where the perceptron outputs a 0 if the weighted sum of the inputs is below a certain value and a 1 if it is above that value.

The Heaviside function is a step function that takes a value of 0 for inputs below 0 and a value of 1 for inputs above 0. The logistic function is a sigmoid function that takes a value of 0 for inputs close to negative infinity and a value of 1 for inputs close to positive infinity. The perceptron function is a nonlinear function that is used in artificial neural networks. It is not a step function.