You are on page 1of 4

WEEK-1

NAME : MADDULA NAGA TEJA

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.

2) What is the Difference between machine learning and deep learning?


Ans) Machine Learning means learning from the data by using Algorithms and Training. It
performed without being explicitly programmed. The data normally the Machine Learning can
understand is Categorical, Numerical. For Ex: Text, numbers, float etc.
But Deep learning imitates the human thinking. It resembles the structure of the human biological
neuron. It has priority and importance for every feature in the data. We can use complex
algorithms for learning in Deep Learning. We can also use the unstructured data like images to
perform Image Classification.

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

Setting Threshold Values and Inputs for Logic Gates

Logic for OR logic Gate

Output for OR Logic Gate

2|P a ge
Logic for AND Logic Gate

Output for AND Logic Gate

Linear Seperable Lines for OR Logic Gate and AND Logic Gate

3|P a ge
Post Lab:

Solve the given polynomial equation using Tensorflow X2 -4X+4=0

Program:

Importing the Libraries

Logic for solving the equation

Output

4|P a ge

You might also like