21PCS512 PT 1 - Ans
21PCS512 PT 1 - Ans
21PCS512 PT 1 - Ans
Identify the clustering algorithms which are more appropriate for the
following examples : 8 samples to convert into them into 3 clusters:
1 2 CO Ap P
A1=(2,10), A2=(2,5), A3=(8,4), A4=(5,8), A5=(7,5), A6=(6,4), A7=(1,2), 0 2 O
4
A8=(4,9). Assume the initial seeds are A1, A4, and A7.
Given the task of clustering 8 samples into 3 clusters with specified initial seeds, a few
clustering algorithms can be appropriate. Let's explore the options and their suitability:
1. K-Means Clustering
K-Means is a popular and straightforward clustering algorithm. It works well with a
predefined number of clusters and initial seeds. Here's how it would work with your
provided data and initial seeds:
A1 = (2, 10)
A2 = (2, 5)
A3 = (8, 4)
A4 = (5, 8)
A5 = (7, 5)
A6 = (6, 4)
A7 = (1, 2)
A8 = (4, 9)
Thus, K-Means and K-Medoids are the more appropriate clustering algorithms for your
given example with specified initial seeds.
Final centroids:
Write the above result.
2 Apply Back Propagation algorithm to train the following network and
assume the training tasks are considered for the three epochs. Assume P
2 CO Ap
w1=0.11, w2=0.21, w3=0.12, w4=0.08, w5=0.14, w6=0.15, i1=2, i2=3 0 2 O
4
and the expected output is ‘1’.
Forward Pass
Once the acceptable error reached stop the process.
3 Consider the use of the following Convolutional Neural Networks
(CNN) for image understanding applications. For a Given the input P
1 CO Ap
binary solve the following problems : 0 2 O
4
b) Compute the output feature maps of the convolutional layer with the
a)
The filter matrix you provided, [1001][1001], is a 2x2 filter commonly known as an identity filter or a diagonal
filter.
This filter essentially preserves the input data. It's called an identity filter because when it convolves with an input,
it returns the input unchanged, provided the input matches the filter's dimensions.
In the context of image processing, applying this filter to an image will have the following effects:
1. Preservation of Features: It preserves the main features of the input image, especially those along the diagonal.
For instance, if there are diagonal edges or lines in the image, they will be preserved or enhanced after convolution
with this filter.
2. No Modification of Features: Unlike other filters that emphasize certain features (like edges or textures), this
identity filter doesn't alter the input features. It's useful when you want to maintain the current state of the input
data without applying any specific transformations.
3. Blurry Effect: While this filter doesn't intentionally blur or sharpen the image, applying it might slightly smooth
the image due to the averaging effect of convolution, particularly if you use it in combination with pooling or
other layers in a neural network.
In a neural network trained for image processing tasks, such as image classification or object detection, this filter
might be used early in the network to preserve important features of the input image while allowing the
subsequent layers to learn more complex patterns and structures. However, it's worth noting that in many cases,
filters like this one are usually learned during training rather than manually specified.
B) Yet to do
COURSE BLOOMS
OUTCOME TAXONAM Q.NO MARKS %
S Y