Professional Documents
Culture Documents
2nd sessional
2nd sessional
ID
FACULTY OFTECHNOLOGY
SECOND SESSIONAL
(CE622)
SUBJECT: Machine Learning
Seat No.
: Monday
Examination :B.Tech Semester VI Day
Date :06/02/2023 Max. Marks :36
Time :3:15 PM to 4:30 PM
INSTRUCTIONS:
1 Figures to the right indicate maximum marks for that question.
2 The symbols used carry their usual meanings.
3 ASsume suitable data, if required & mention them clearly.
4 Draw neat sketches wherever necessary.
|12|
|2
Q.1 Do as directed.
technique would vou use to categorize news articles into different categories?
COI N (a) Which unsupervised learning [2
Justify your answer. 2]
CO2 R (b) Which are the limitations of K Means clustering algorithm?
Bayesian Network shown below'?
CO3 A (c) What is the Markov Blanket of node X for the
[2]
diagrams.
patterns and non-linearly separable patterns with appropriate new model to make (2]
CO1 U (d) Define linearly separable and use the
"features"" to train a new model
of multiple models as
CO2 U (e) i) Use predictions data.'Identify the ensemble learning model. estimators in Bagging Algorithm?
predictions on test of several base function ? (2)
functions used to combine outputs need a differentiable activation
ii) What are the Perceptron. Why do we
structure of a Multilayer
CO1 N () Explain the [12]
computed by a single [2]
Q.2 Answer the following questions. a single layer perceptron? How are the outputs
components of
What are the main perceptron 4)
CO2 N (a) i)layer perceptron? Algorithm. State the condition under which the
Perceptron Learning
ii) Write and explain the converge. the models.' Justify and
state (2j
learning algorithm fails yield better results when there is diversity among
to
Ensembles tend to models. [4)
CO2 N (b) i) in Ensemble learning
methods to achieve diversity Forest Algorithm in detail.
of Random
ii) Explain the working OR [12)
and 'gleason score'. The 121
following questions. features 'psa level', 'age'
Q.2 Answer the
Consider abinary classification problenn with inputI or 0. The logistic Regression model generated upon
CO4 E (a) i) disease' which takes labels
class variable is cancer score)
training is: 0.0266*(psa) -0.0208*(age) + 1.0790 *(gleasonman with a psa levelof 10
logit(cancer disease) = -6.3896 + disease=1 for a69 year old
probability of having cancer
What is the predicted according to the given model. Show all the steps. (4)
Can we use the Mean Square
and gleason score of 5 loss function used in Binary Logistic Regression.
ü) Write and explain the Justify your answer. of twofeatures X1and X2and one output [6)
CO2 N
Error Loss function in Logistic Regression?in Table ).2 B. Itconsists
the following dataset shown
C04 C (b) Consider
classifier is applied on the given
dataset. (X[>2.0). This decision node
variable Y.An Adaboost following decision node the
chose the first model hl with the label (+1) to the rest of
Let us suppose we value of X1>2.0 and class
assigns class label (-1) to all
samples which has 1). 0.2
samples.
weight assigned to all the
samples? 2). E = 0.2
i) What is the initial by model hl, compute the error.
made
ii) Based on predictions model hl. 3). Alpha = 0.693
Compute the performance of
iii)
Page I of2
4). Corr. Classified = 0.1
Miss classified= 0.4
samplesare
samples. Show which
correctlyclassified
iv) Compute the updated weight of misclassificdl and
misclassified.
Show allthe steps and equations clearly.
Y
XI X2
0.5 1.5
1
1.5 1.5
1.5 0.5
-1
2.5 1.5
-1
2.5 2.5
Table Q.2.B [12]
Q.3 Attempt Any TWO from the following questions. Sampies [6]
Using likelihood weighting technique, draw threenumbers
CO3 E (a) For the Bayesian Network shown in Eie O 2. P=), Consider the following random to
P(R=1/ H=0.
and answer the following inference query,
draw samples. [ 25, 35, 45, 55, 65, 75, 85, 95, 35, 85, 45, 75]
PCH) o 1 P(T) O 1.
0.3 o.7
o.6 O. 4
Pertorumnce
Attshude. PCP)
PCAJ
D
a<o-|o|
loloal o.8 C.2.
O.6 o. 4 Reomnmond. 1
0.
O. 4 0. 6
O.3
o 0. 6 o.4
1. O. 2 O. 8 1. 1. 0.3 0.7
P(R)
A
1 0. 0.3
Oo, 4 0.6
1. o.i 0.9
Fig: Q 2
co3 E (b) For the Bayesian Network shown in Fig Q2, Draw four samples using Gibb's sampling technique and [6]
answer the following inernce query, P(R =1/1=1, H=0). Consider the following random numbers to
draw the first sample, (y5, 6s, 75.35]
CO2 N (c) Describe the working of K-Means clustering algorithm for the data given below, [6]
Data pl p2 p3 p4 PS P6 p7 P8
X1 2 4 6 3 | 8
x2 2 3 7 5 5 )
Page 2 of2
10LOG
Po4 413
DHARMSINH DESAI UNIVERSITY, NADIAD
D
Date
FACULTY OF TECHNOLOGY
SECOND SESSIONAL
SUBJECT: (CE-618) NETWORK &INFORMATION SECURITY
Examination :B.Tech Se mester VI Seat No.
:08-02-2023 Day :Wednesday
Time :3:15 pm to 4:30 pm Max. Marks :36
INSTRUCTIONS:
1 Figures to the right
2
indicate maximum marks for that question.
The symbols used carry their usual meanings.
3.
4
Assume suitable data, if required & mention them clearly.
Draw neat sketches wherever
necessary.
OR
Q.3 Attempt the following questions.
C02 C (a) Construct diagrams for a round in DES (encryption site) and a |12]
DES function. [6]
cO3 A (b) Apply keyed transposition cipher to perform
encryption of plain text [61
*enemyattackstonightz" using encryption key={3,1,4,5,2}. Find decryption key
and perform decryption of cipher text.
Page 1 of 1
ko?3344
D
DHARMSINH DESAI UNIVERSITY, NADIAD
FACULTY OF TECHNOLOGY
SEcONDPRT SESSIONAL
SUBJECT: COMPUTER NETWORKS
CEO23
Examination :B.Tech Semester VI Seat No.
Date :07/02/2023 Day :Tuesday
Time Max. Marks :36
:3:15pm to 4.30pm
INSTRUCTIONS:
1. Figures to the right indicate maximum marks for that question.
The symbols used carry their usual meanings.
3.
4.
Assume suitable data, if required & mention them clearly.
Draw neat sketches wherever necessary.
E 5 7 7
S. info - buffer[]:
S. seq = next frame to send:
S.ack (uck expected MAX SEO) %(MAX SE0+ 1):
to physical layer(&s):
start timer(s. seg):
inc(nextframe to_send);
PaAe of 2
(ii)) Explain following function with examples (for selective repeat protocol),ifa 3
bitsequence number is uscd.
static Boolean between(seq_nr a, seq_nr b, seq_nr c)
(if ((a<=b)&&(b<c) (b<c)& &(e<a)) | (e<a)&&(a<-b)
return(true):
else
return(false): }
CO3 U (c) Which of the fields of TCP header can have zero value? Explain flow control of |6|
TCP.
N
N
M M
2Jth a
r..b
a
a
T’ Tl4 b
a