Week 1
Week 1
Week 1
ID NO : 2000080061
Date: DD/MM/YYYY
Outcome: Students are able to implement the basic logic gates using McCullough Pit’s Model.
Pre Lab:
1) What is Deep Learning and how deep learning became one of the powerful branches of
machine learning?
Ans) It is a type of Machine Learning which based on Artificial Neural Networks in which which
multiple layers of processing are used to extract progressively higher level features from data.
The key reasons of Deep Learning to became more powerful is because it creates transferable
solutions. It has multiple layered neural network to train more and more to get better results than
normal Machine Learning methods. It is also used for Image data by using CNN.
3) Explain about mankind first mathematical model of a biological neuron and linear
seperability.
Ans) The first mathematical model of a biological called “McCulloh-Pitts Neuron” proposed by
Warren McCulloh and Walter Pitts. There are 3 modules in this neuron. They are input,
aggregation, output. Here input means collection of features from the data, aggregation means
summation of all collected inputs, output means it returns 1 if the output is above or equal to
threshold and returns 0 if the output is below the threshold. In that way the neuron takes the
decision by comparing it to the threshold value.
1|P a ge
In Lab:
EXP1:
a) Implement the basic logic gates AND & OR using McCullough Pit s model.
b) Draw the linear separability line for the above Boolean functions.
Program:
Importing Libraries
2|P a ge
Logic for AND Logic Gate
Linear Seperable Lines for OR Logic Gate and AND Logic Gate
3|P a ge
Post Lab:
Program:
Output
4|P a ge