Unit - 5 - Neural Pattern Recognition
Unit - 5 - Neural Pattern Recognition
Pattern Recognition
Unit -III Graphical Approaches & Grammatical Inference in
Syntactic Pattern Recognition
Physical neural networks can be built using electronic circuits, optical devices,
or quantum systems to mimic the connections and computations in a neural
network.
Weights (w1, w2, ..., wd): Each input is multiplied by a corresponding weight, which determines its
contribution to the neuron's output.
Weighted Sum (net): The weighted inputs are summed together to form the net input.
Activation Function (f): The net input is passed through an activation function, which introduces
nonlinearity and determines the final output of the neuron.
Output (o): The output of the neuron is the result of the activation function applied to the net input.
a) McCulloch-Pitts Model
•The neuron receives multiple inputs, each with an associated weight.
•The weighted inputs are summed together.
•If the sum exceeds a threshold value (T), the neuron fires and produces an
output of 1. Otherwise, the output is 0.
Characteristics:
•The neuron operates in a binary manner,
producing either a 0 or a 1.
•It is a simple model that can be used to
understand the basic principles of neural
networks.
a) McCulloch-Pitts Model
•The neuron receives multiple inputs, each with an associated weight.
•The weighted inputs are summed together.
•If the sum exceeds a threshold value (T), the neuron fires and produces an
output of 1. Otherwise, the output is 0.
Characteristics:
•The neuron operates in a binary manner,
producing either a 0 or a 1.
•It is a simple model that can be used to
understand the basic principles of neural
networks.
b) Linear Weighted Threshold Model
•Similar to the McCulloch-Pitts model, the neuron receives multiple inputs with
associated weights.
•The weighted inputs are summed together.
•If the sum exceeds a threshold value (T), the neuron produces an output of 1.
Otherwise, the output is 0.
Characteristics:
•The neuron operates in a binary manner,
producing either a 0 or a 1.
•It is a more general model than the
McCulloch-Pitts model, as it allows for
both positive and negative weights.
The key difference between the McCulloch-Pitts Model and
the Linear Weighted Threshold Model
Output or activation functions in artificial neurons
(a) Linear Output Function with Adjustable
Gain
This figure represents a linear output function
where the output oi increases proportionally to
the input net i.
•The slope of each line corresponds to different
levels of gain
When gain = 1, the neuron has a direct, one-to-
one response to input.
•When gain > 1, the slope is steep, making the
neuron more sensitive to changes in input.
•When gain < 1, the neuron responds less to
input, resulting in a flatter slope.
(b) Threshold (Relay) Output Function
This is a threshold or relay function where the neuron only
activates if the input exceeds a certain threshold T.
This function is binary, meaning it has only two output states (on or
off). It’s commonly used in binary classification tasks where the
neuron either "fires" or "doesn't fire" based on a threshold.
(c) Linear Threshold Function
This function introduces two thresholds, a lower threshold t l
and an upper threshold tu.
If net i is between t l and t u, the output increases linearly with the
input.
This function smoothly transitions between low and high output values as
net i increases, allowing neurons to "fire" gradually rather than suddenly.