Explore essential concepts in neural networks and deep learning, including perceptrons, activation functions, multilayer architectures, and practical implementations. This quiz covers foundational theory and key techniques in AI machine learning.
What is the primary function of a perceptron in a neural network?
Explanation: The perceptron is the fundamental unit of a neural network that processes input signals, applies weights, and makes decisions via an activation function. Image compression and data storage are not functions of a perceptron. Generating random weights is part of network initialization, not the perceptron's main role.
How is an artificial neuron in a neural network similar to a biological neuron?
Explanation: Artificial neurons are inspired by biological neurons because they receive inputs, process information, and produce outputs. Biological neurons do transmit electrical signals, but not at the speed of light, and neither is limited to logical operations or depends on glucose in computation.
Why is the sigmoid function often used as an activation function in neural networks?
Explanation: The sigmoid function's key property is mapping real-valued inputs to a normalized range between 0 and 1, allowing for non-linear modeling. It does not adjust learning rates, does not output integers, and is not the fastest computationally compared to alternatives like ReLU.
What distinguishes a multi-layer perceptron from a simple perceptron?
Explanation: The multi-layer perceptron (MLP) is characterized by multiple hidden layers, allowing it to learn complex, non-linear relationships. Single perceptrons only handle linear problems. Activation functions and weights are required in both, and MLPs are not limited to linear classification.
What is a primary advantage of using libraries such as TensorFlow or Keras when building neural networks in Python?
Explanation: TensorFlow and Keras provide high-level APIs that make building, training, and evaluating neural networks much easier. They do not guarantee to prevent overfitting, do not eliminate the need for labeled data, and are not solely data visualization tools.