0% found this document useful (0 votes)
68 views7 pages

Ai Ga1

The document discusses various types of supervised and unsupervised classification in machine learning. It provides examples of supervised learning including Bayes spam filtering and examples of unsupervised learning including data mining clustering algorithms. It also discusses the differences between supervised and unsupervised learning. The document then provides a detailed explanation of convolutional neural networks with a diagram labeling the different layers including the convolutional layer, pooling layer, and fully connected layer. It describes the functions of each layer. Finally, the document discusses the data science life cycle and the roles and skills of data scientists in examining questions, finding and analyzing data, and communicating results to key stakeholders to drive decision making.

Uploaded by

Darshnik Deep
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views7 pages

Ai Ga1

The document discusses various types of supervised and unsupervised classification in machine learning. It provides examples of supervised learning including Bayes spam filtering and examples of unsupervised learning including data mining clustering algorithms. It also discusses the differences between supervised and unsupervised learning. The document then provides a detailed explanation of convolutional neural networks with a diagram labeling the different layers including the convolutional layer, pooling layer, and fully connected layer. It describes the functions of each layer. Finally, the document discusses the data science life cycle and the roles and skills of data scientists in examining questions, finding and analyzing data, and communicating results to key stakeholders to drive decision making.

Uploaded by

Darshnik Deep
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

SURESH GYAN VIHAR UNIVERSITY

B. TECH CSE VII-SEM 2019


ARTIFICIAL INTELLIGENCE
GRADED ASSIGNMENT-1

SUBMITTD TO: VICTOR MAGETO MOKAYA


SUBMITTED BY: DARSHNIK DEEP

1. Discuss on the various types of supervised and unsupervised


classification.

Supervised learning is when the data you feed your algorithm with is "tagged" or
"labelled", to help your logic make decisions.
Example: Bayes spam filtering, where you have to flag an item as spam to refine the
results.

Unsupervised learning are types of algorithms that try to find correlations without any
external inputs other than the raw data.
Example: data mining clustering algorithms.

Machine Learning is a class of algorithms which is data-driven, i.e. unlike "normal"


algorithms it is the data that "tells" what the "good answer" is. Example: a hypothetical non-
machine learning algorithm for face detection in images would try to define what a face is
(round skin-like-colored disk, with dark area where you expect the eyes etc). A machine
learning algorithm would not have such coded definition, but would "learn-by-examples":
you'll show several images of faces and not-faces and a good algorithm will eventually learn
and be able to predict whether or not an unseen image is a face.

This particular example of face detection is supervised, which means that your examples
must be labeled, or explicitly say which ones are faces and which ones aren't.
In an unsupervised algorithm your examples are not labeled, i.e. you don't say
anything. Of course, in such a case the algorithm itself cannot "invent" what a face is, but it
can try to cluster the data into different groups, e.g. it can distinguish that faces are very
different from landscapes, which are very different from horses.
Since another answer mentions it (though, in an incorrect way): there are "intermediate"
forms of supervision, i.e. semi-supervised and active learning. Technically, these
are supervised methods in which there is some "smart" way to avoid a large number of
labeled examples. In active learning, the algorithm itself decides which thing you should
label (e.g. it can be pretty sure about a landscape and a horse, but it might ask you to
confirm if a gorilla is indeed the picture of a face). In semi-supervised learning, there are two
different algorithms which start with the labeled examples, and then "tell" each other the
way they think about some large number of unlabeled data.

2. Write an essay on Convolution neural networks with a well detailed


diagram.

A Convolutional Neural Network, also known as CNN or ConvNet,


is a class of neural networks  that specializes in processing data
that has a grid-like topology, such as an image. A digital image is
a binary representation of visual data. It contains a series of
pixels arranged in a grid-like fashion that contains pixel values to
denote how bright and what color each pixel should be.

3. Representation of image as a grid of pixels (Source)

The human brain processes a huge amount of information the


second we see an image. Each neuron works in its own receptive
field and is connected to other neurons in a way that they cover
the entire visual field. Just as each neuron responds to stimuli
only in the restricted region of the visual field called the
receptive field in the biological vision system, each neuron in a
CNN processes data only in its receptive field as well. The layers
are arranged in such a way so that they detect simpler patterns
first (lines, curves, etc.) and more complex patterns (faces,
objects, etc.) further along. By using a CNN, one can enable sight
to computers . 

A CNN typically has three layers: a convolutional layer, pooling


layer, and fully connected layer.

Architecture of a CNN

Definition[]
The name “convolutional neural network” indicates that the network employs a mathematical
operation called convolution. Convolution is a specialized kind of linear operation. Convolutional
networks are simply neural networks that use convolution in place of general matrix multiplication in
at least one of their layers

Design[]
A convolutional neural network consists of an input and an output layer, as well as multiple hidden
layers. The hidden layers of a CNN typically consist of a series of convolutional layers
that convolve with a multiplication or other dot product. The activation function is commonly a RELU
layer, and is subsequently followed by additional convolutions such as pooling layers, fully
connected layers and normalization layers, referred to as hidden layers because their inputs and
outputs are masked by the activation function and final convolution. The final convolution, in turn,
often involves backpropagation in order to more accurately weight the end product.[
Though the layers are colloquially referred to as convolutions, this is only by convention.
Mathematically, it is technically a sliding dot product or cross-correlation. This has significance for
the indices in the matrix, in that it affects how weight is determined at a specific index point.[
Convolutional[]
When programming a CNN, each convolutional layer within a neural network should have the
following attributes:

 Input is a tensor with shape (number of images) x (image width) x (image height) x (image
depth).
 Convolutional kernels whose width and height are hyper-parameters, and whose depth must
be equal to that of the image. Convolutional layers convolve the input and pass its result to the
next layer. This is similar to the response of a neuron in the visual cortex to a specific stimulus.[11]
Each convolutional neuron processes data only for its receptive field. Although fully connected
feedforward neural networks can be used to learn features as well as classify data, it is not practical
to apply this architecture to images. A very high number of neurons would be necessary, even in a
shallow (opposite of deep) architecture, due to the very large input sizes associated with images,
where each pixel is a relevant variable. For instance, a fully connected layer for a (small) image of
size 100 x 100 has 10,000 weights for each neuron in the second layer. The convolution operation
brings a solution to this problem as it reduces the number of free parameters, allowing the network
to be deeper with fewer parameters.[ For instance, regardless of image size, tiling regions of size 5 x
5, each with the same shared weights, requires only 25 learnable parameters. In this way, it resolves
the vanishing or exploding gradients problem in training traditional multi-layer neural networks with
many layers by using backpropagation.

Pooling[]
Convolutional networks may include local or global pooling layers to streamline the underlying
computation. Pooling layers reduce the dimensions of the data by combining the outputs of neuron
clusters at one layer into a single neuron in the next layer. Local pooling combines small clusters,
typically 2 x 2. Global pooling acts on all the neurons of the convolutional layer.[13][14] In addition,
pooling may compute a max or an average. Max pooling uses the maximum value from each of a
cluster of neurons at the prior layer. Average pooling uses the average value from each of a cluster
of neurons at the prior layer.

Fully connected[]
Fully connected layers connect every neuron in one layer to every neuron in another layer. It is in
principle the same as the traditional multi-layer perceptron neural network (MLP). The flattened
matrix goes through a fully connected layer to classify the images.

Receptive field[]
In neural networks, each neuron receives input from some number of locations in the previous layer.
In a fully connected layer, each neuron receives input from every element of the previous layer. In a
convolutional layer, neurons receive input from only a restricted subarea of the previous layer.
Typically the subarea is of a square shape (e.g., size 5 by 5). The input area of a neuron is called
its receptive field. So, in a fully connected layer, the receptive field is the entire previous layer. In a
convolutional layer, the receptive area is smaller than the entire previous layer.

4. Write an essay on data science

Data science continues to evolve as one of the most promising and in-demand
career paths for skilled professionals. Today, successful data professionals
understand that they must advance past the traditional skills of analyzing large
amounts of data, data mining, and programming skills. In order to uncover useful
intelligence for their organizations, data scientists must master the full spectrum of
the data science life cycle and possess a level of flexibility and understanding to
maximize returns at each phase of the process.

The Data Science Life Cycle


ata scientists examine which questions need answering and where to find the related data. They
have business acumen and analytical skills as well as the ability to mine, clean, and present
data. Businesses use data scientists to source, manage, and analyze large amounts of
unstructured data. Results are then synthesized and communicated to key stakeholders to drive
strategic decision-making in the organization

You might also like