Automatically extracted historical question data. Academic accuracy and examination rules require verification.
Section marks require review. Marks charts are withheld.
Part A — 12a
(a)
You have been given a dataset that captures the growth of a
certain species of plant over time. The dataset includes the
number of days since planting and the corresponding height of
the plant in centimeters. Preliminary analysis suggests that the
relationship between the days since planting and the height of the
plant is non-linear. Your task is to build a | regression model to
better capture this relationship.
Day Height
1 ; 24
2 4.2 ட
3 6.3
4 na 8.3.
5 10.6
(i) Develop regression model for this dataset.
(ii) Compute the metrics of RMSE or MAE.
(iii) What will you do to increase the accuracy?
13
IP
>|:
Other Or UnclassifiedSource quality review required
Part A — 12b
(b)
How is logistic regression different from linear and polynomial
regression? With an example of your choice, provide the steps for
fitting a logistic regression model and provide the appropriate
metrics.
13
IF
1
Other Or UnclassifiedSource quality review required
Part A — 13a
(a)
With an example, explain the Classification algorithm behind
KNN. What are the different metrics available for the
classification? Explain.
13
12.
>
Other Or UnclassifiedSource quality review required
Part A — 13b
(b)
(1) Consider this dataset on diabetes detection. You have to find
whether the particular person is diagnosed with diabetes or not
based on the factors such as Age, BMI, Blood Pressure and
Glucose level. How will you use a decision tree for this problem?
13
Ie
>
Mention the steps of training, validation and testing.
ert "io | நவை | Steele
3 i 50 “goo (195
ae |
3 2
(I) Differentiate supervised and unsupervised algorithm and
mention examples for each. a
(ii) A new medical test has been developed to diagnose. Ch
particular disease. The test was evaluated on a sample of 1000 | ..10
patients, and the results are summarized in the confusion matrix
below:
em ee cemeteries IES EEE EET peeerenecereenctm steers
| Disease Positive "Disease Negative 2
Test Positive 150 30
Test Negative 50 770
a. How many true positives are there?
b. How many true negatives are there
c. Calculate Precision
d. Calculate Recall
6. Find F1 score
What do these values mean? How does it impact the workflow of
MLOPS?
Consider the dataset of penguin to determine the species given is 2
the other Parameters... oa, டவ வம re வட oe
species island culmen_Length_om culmen_depth_mn flipper_Length_ma body_mass_g sex ~~
0 Adelie Torgersen 391 “நொ... ஈம எம மம
1 Adelie Torgersen 39.5 174 196.0 3800.0 FEMALE ்
2 Adelie 100498 40,3 18.0 195.0 3250.0 FEMALE VAS) 01:12 js fe
4 Adelie Torgersen 367 19.3 193.0 3450.0 FEMALE fx,
be
5 Adelie Torgersen 39.3 20.6 790.0 3650.0 MALE iS
We)
ஞீ
This has already been trained and tested and stored as .’pkl’ file %
using scikit learn library. You are now given the task to deploy it
on to the internet with a simple user-interface. How will you do
that? Mention the detailed steps. “|
Are there any disadvantages with this approach?
(1) How are the traditional software developed in windows or
Linux Operating Systems? What are the disadvantages?
(ii) What is a docker? How is it advantageous over the traditional
methods?
(iii) Mention the steps to create a docker for a simple python
application with the req uired files. —_
OR ‘im | i
Other Or UnclassifiedSource quality review required
Part A — 15b
(b) | Assume you have a trained ML model in the extension of .pkl in 13 | 3,6
the iris dataset consisting of Sepal width, Sepal length, Petal
iris dataser venth ‘The model is trained to classify one of the
>
(1) Write a python program to classify the type of flowers given the
four parameters as user input. rae
(ii) Write a Dockerfile with the required packages and commands
(iii) Mention the steps to build the docker image and run it.
(iv) Assume that you have made a mistake in the program and |
correcting it. Is it required to rebuild and run the docker again?
Why or why not?
Other Or UnclassifiedSource quality review required