Professional Documents
Culture Documents
Lecture 1
Lecture 1
• Now as per given problem, you will go to particular movie only if when both IsMovieNew
and IsTicketCheap inputs of the neuron are on.
• As you can guess, this is essentially a AND function problem and the Threshold value will
be 2.
• But wait a minute, if its weekday you cant even think of planning for a movie outing. So
we will also have a Inhibitory input –
– I– IsWeekday
• When IsWeekday is on for the neuron, then there is no question of planning for the
movie.
• And finally we have output of the neuron. Output =1 means you should plan to go for a
particular movie, Output = 0 means you should not plan.
Behavior of the neuron
Some points to consider
• McCulloch-Pitts neuron model can only deal with binary inputs and binary
output.
• Since it deals with only binary values McCulloch-Pitts neuron can’t work
with real life values like years, price, age etc.
• This model considers that all inputs are equal. But in real life world it might
not be the case. In our above example, for you – the price of the movie
might play little role in deciding the plan and new movie play more value
for making plan. But we can’t assign such weights to inputs of McCulloch-
Pitts neuron.
• Using this approach we can create neuron models for only those problems
that are linearly separable.
• As you could intuitively see McCulloch-Pitts neuron can be used to
represents logical functions. But then it cannot represen XOR logical
function it is not linearly separable.
• And finally we are just calculating the threshold value ourself, which is the
only parameter of the model.
No (Machine) Learning in McCulloch-Pitts
Neuron Model
• Well, may be you had guessed it by now that there is no learning involved
in McCulloch-Pitts neuron model.
• Based on the scenario and set of possible inputs involved we are
calculating the threshold value and building the model.
• There is no learning taking place which is not how a machine learning
model should look like.
• McCulloch-Pitts neuron model is of historic importance for being the
inspiration of what became Neural Network later years.
Program
• Write a program to implement AND function
using McCulloch-Pitts Neuron.
• Write a program to implement OR function
using McCulloch-Pitts Neuron.
Thanks