mca-4-sem-machine-learning-and-data-analytics-using-python-91855-may-2023 (1)
mca-4-sem-machine-learning-and-data-analytics-using-python-91855-may-2023 (1)
INSTRUCTIONS TO CANDIDATES:
1.SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
2.SECTION - B & C have FOUR questions each .
3.Attempt any FIVE questions from SECTION B & C carrying TEN marks each .
4.Select atleast TWO questions from SECTION - B & C .
SECTION-A
b)Name all models which can be implemented for using the linear classification.
https: w.ptustudy.com
SECTION-B
2. a) Explain the principle of bagging in Random Forest with an example. Define the
outof-bag error.
5. Consider the following training set that classifies the output variable play tennis as
Yes or No depending upon weather conditions such as Outlook, Temperature, Humidity,
and Windy Status.
S. No. Outlook Temperature Humidity Windy Play Tennis
1 Sunny Hot High Weak No
2 Sunny_ Hot High Strong No
3 Overcast Hot H1 Weak Yes
4 Rainy Mild High Weak Yes
5 Rainy Cool Normal Weak Yes I
6 Rainy Cool Normal Strona. No
7 Overcast Cool Normal Sums Yes
8 Sunny Mild High Weak No
9 Sunny Cool Normal Weak Yes
10 Rainy Mild Normal Weak Yes
11 Sunny Mild Normal Strong Yes
12 Overcast Mild High Strong Yes
13 Overcast Hot Normal Weak Yes
14 Rainy Mild High Strong No
Using Naive Bayes Classifier, classify whether, on a Rainy, Mild, High Humidity, and
Windy day, we can play tennis or not.
https://www.ptustudy.com
SECTION-C
6.Write the Python code for printing the first N prime numbers.
b) What is the difference between series and Data Frames? Explain using examples.
b) When do we need to plot histograms versus pie charts? Discuss with examples.
NOTE Disclosure of Identity by writing Mobile No. or Marking of passing request on any
paper of Answer Sheet will lead to UMW' against the Student.
3 I M-91855 (5112)-938
https://www.ptustudy.com