Int254 Unit 3
Int254 Unit 3
Presented By:
Dr. Premananda Sahu
Department of Machine Learning 1
Topics to be covered…
• Soft Computing: What is Soft Computing?
• Comparison with Hard Computing
• Components of Soft Computing
• Neural Network: Biological Motivation and History
• Applications of Neural Networks
• Structure and Working of Artificial Neurons
• Perceptron Learning Algorithm
• Architecture and Working of Feedforward Neural
Networks
• Activation functions
• Case study: Practical Problem-solving using Neural
2
Networks
What is Soft Computing
SC
Soft = EC + NN
Evolutionary +
Neural FLFuzzy
Computi Computing Network Logic
ng
3
Soft Computing Vs Hard Computing
Hard Computing Soft Computing
5
Neural Network: Biological Motivation
6
Neural Network: Biological Neuron
•Cell Body (Soma): The central part of the neuron that processes inputs.
7
•Inputs
Neural
(x₀, x₁,Network: Artificial
x₂, ..., xₙ): Represent Neuron
numerical values fed(perceptron)
into the artificial neuron.
•Weights (w₁, w₂, ..., wₙ): Each input is multiplied by a corresponding weight, which
determines its importance.
•Bias (b): A constant value added to the weighted sum to adjust the output.
•Bias: type of error occurs due to wrong assumptions
•Activation Function (f): allowing network to learn complex patterns.
•Activation Function (f): Applied to the linear output to introduce non-linearity
•Output (y): The final processed value, determining the neuron’s response.
8
Comparison of Biological Neuron and Artificial Neuron
9
Neural Network
•Neural networks mimic biological brain functions.
•Consist of layers, neurons, and connections.
•Each neuron applies weights and biases.
•Activation functions introduce non-linear properties.
•Outputs help in decision-making processes.
•Process input data using mathematical transformations.
10
Neural Network: History
11
Applications of Neural Networks
12
Structure and Working of Artificial
Neurons
Consist of 3 main parts: input processing, activation function, and weight update (learning 13
Structure and Working of Artificial
Neurons
14
Structure and Working of Artificial
Neurons
15
Perceptron Learning Algorithm
• Fundamental supervised learning algorithm used for binary classification problems.
• Based on adjusting weights iteratively to correctly classify data points.
16
Perceptron Learning Algorithm
• Hyperparameters are variables that control the training of machine learning models.
• Learning rate (η) is crucial hyperparameter in machine learning that controls how much the model's
weights are updated during training.
• η is too high → The model converges (produce accurate predictions) too fast
• η is too low → The model learns too slowly 17
Perceptron Learning Algorithm-: Example
Calculation
18
Perceptron Learning Algorithm-: Example
Calculation
19
Perceptron Learning Algorithm-: Example
Calculation
20
Perceptron Learning Algorithm-: Example
Calculation
21
Architecture and Working of Feedforward Neural Networks
• Feedforward Neural Network (FNN) is the simplest type of ANN where information flows only in one
direction.
• loss function measures how well the neural network's predictions match the actual target values.
22
Architecture and Working of Feedforward Neural Networks
24
Activation Functions
25
Case study: Practical Problem-solving using Neural
Networks
26
Case study: Practical Problem-solving using Neural
Networks
29