Input Layer
The input layer is the first layer of a neural network, responsible for receiving the input data.
Each neuron in this layer corresponds to a specific feature or part of the input data, and this information is passed on to the next layer of the network (the hidden layer).
For instance, when processing a 5×5 grayscale image, the brightness value of each pixel is received by the input layer and sent to individual neurons.
The example below demonstrates how a 5×5 image is delivered to the neurons in the input layer.
[ [0, 0, 255, 0, 0], [0, 255, 0, 255, 0], [255, 0, 0, 0, 255], [0, 255, 0, 255, 0], [0, 0, 255, 0, 0] ]
Here, 0 represents black, and 255 represents white.
In neural networks, it is common to normalize the data between the values of 0 and 1 to facilitate easier learning.
For example, converting 255 to 1.0 and 0 to 0.0 is a commonly used approach.
Lessons in this chapter · Introduction to Neural Networks
- 1. What is a Neural Network?
- 2. What is a Neuron?
- 3. Key Components of Neural Networks
- 4. Input Layer
- 5. Hidden Layer
- 6. Output Layer
- 7. Relationship Between Number of Layers and Model Performance
- 8. Multiple Choice Quiz
- 9. What is a Perceptron?
- 10. Limitations of Single-Layer Perceptrons
- 11. Role of Activation Functions
- 12. Sigmoid Function: Converting Values to Probabilities
- 13. Multiple Choice Quiz
- 14. ReLU Function: Activating Only Positive Values
- 15. Softmax Function: Handling Multiple Probabilities
- 16. Comparison of Activation Functions: Sigmoid, ReLU, Softmax
- 17. Fill-in-the-Blank Quiz
Which is the most appropriate option to fill in the blank below?
Lecture
AI Tutor
Design
Upload
Notes
Favorites
Help
Preparing your practice environment
If the server was asleep, this may take a few minutes.