Lesson 10.1: What is Neural Network? β Neurons & Perceptron
πΉ What is a Neural Network?
A Neural Network is a computational model inspired by the human brain.
-
Consists of layers of interconnected nodes (neurons).
-
Used for classification, regression, image recognition, NLP, and more.
πΉ Basic Components
-
Neuron (Node)
-
Basic unit of computation.
-
Receives inputs, applies weights, adds bias, passes through an activation function.
-
Perceptron
-
Simplest type of neural network β single neuron.
-
Can solve linearly separable problems.
Mathematical Representation:
output=activation(β(weightsβ inputs)+bias)output = activation(\sum (weights \cdot inputs) + bias)
πΉ Layers in Neural Network
-
Input Layer β Receives raw features.
-
Hidden Layer(s) β Perform computations and extract features.
-
Output Layer β Produces final prediction.
πΉ Example (Conceptual)
-
Inputs: [x1, x2, x3]
-
Weights: [w1, w2, w3]
-
Bias: b
-
Output: y=activation(x1βw1+x2βw2+x3βw3+b)y = activation(x1*w1 + x2*w2 + x3*w3 + b)
πΉ Advantages
-
Can learn complex patterns.
-
Foundation for deep learning.
πΉ Limitations
-
Single perceptron β Limited to linear problems.
-
Multi-layer networks β Require more data and computation.
β Quick Recap:
-
Neural Network β Layers of interconnected neurons.
-
Perceptron β Single neuron, linear classifier.
-
Multiple layers β Can learn complex, non-linear patterns.
