December 2023
MACHINE LEARNING FOR DATA SCIENCE
Anna University
1 question papers available. Select an examination session to view its question paper.
MACHINE LEARNING FOR DATA SCIENCE
Based on available extracted papers. Question groups and frequency are provisional, not official syllabus weightage or examination predictions.
Write any two differences between supervisory and unsupervisory 2 1 L I learning methods
0 eligible source papersWhat is the role of bias and variance in prediction 2 2 L2
0 eligible source papersWrite an application each for linear and logistic regression 2 2 L3
0 eligible source papersWhat is the importance of kernel function? 2 2 L2
0 eligible source papersShow the adjusted weights to learn NOR in perceptron with initial 2 3 L3 weights are 0 and bias is 1
0 eligible source papersWrite any two hyperparameters in neural network based learning 2 3 L I
0 eligible source papersFind the clusteroid {(2,10),(4,9), (8,4),(5,8),(6,4),(7,5)} 2 4 L4
0 eligible source papersWrite any two desirable properties of clustering. 2 4 L2
0 eligible source papersWhy 'Reinforced' learning is referred as neither supervisory nor 2 5 L4 unsupervisory learning?
0 eligible source papersWhat is "hidden" in Hidden Markov Model? 2 5 L2
0 eligible source papers(a) (i) Explain the various data pre-processing techniques with example 7 1 L I (ii) Consider the task of "guessing question paper" as "Tough/ Easy / 6 1 L3 Moderate" from the past set of question papers with various factors, like, subject complexity. Type of setter, and others. Identify the features, input, target class and sample training & testing instances
0 eligible source papersb Signal violations No signal violation in last year in last year Number of persons 65 170 used phone while driving Number of persons 105 355 NOT used phone while driving Find the probability for i) number of persons have no signal violation last year given that person was not used phone ii) number of persons used phone while driving and 5 involved in signal violations 3 iii) signal violations
0 eligible source papers(a) (1) The monthly average prices of petrol is given below from April to October. Predict the petrol price in December using linear Month 4 5 6 7 8 9 Average price of petrol in Rs. 77 78 81 80 82 83 (ii) Consider the following training data set. Data Class aa A bb A ba A bb B Classify the testing patterns, "aaba, bccbba, abb" into class A or B using Naive Bayes classifier
0 eligible source papers(b) (i) Classify for a test case <6,> into positive or negative using, KNN classifier by weighted voting, where k=3 1 2 3 4 5 6 7 8 9 10 X 3 8 4 2 7 5 3 9 4 6 Y 5 4 8 7 4 3 6 8 9 5 Class P P N N P P P N N P (ii) of points : (3,1), (3,-1), (6,1), (6-1) attached to positive class and (1,0), (0,1), (0, -1), (-1,0) of negative class
0 eligible source papers(a) (i) Consider a perceptron to represent the Boolean function AND with the initial weights w1=0.2, w2=-0.2, learning 0.2 and bias 0.4. Show a perceptron that performs this function and updated the weights it gives the desired output. (ii) Consider a self organizing feature map consists of four training samples and two output units. Train this SOFM network by determining the class memberships of the input data. Training samples : x1:(1,0,1,0), x2:(0,1,1,0), x3:(1,0,0,0) &x4;(1,1,1,1) Initial Weight matrix : Unit 1 [0.2 0,5 0.4 0.6]
0 eligible source papers(b) (i) Why "XOR" logic gate cannot be trained to lean using single layer perceptron? How it can be overcome with multilayer 7 3 L3 perceptron? Explain with illustration ii) Explain how a multilayer perceptron can be used to train a Boolean expression with four variables and single output 6 3 L4
0 eligible source papers(a) (i) Perform clustering using Agglomeration by considering i) simple link & ii) Maximum link on the following set of points. 13 4 L4 A ( 1 , 1), B(2, 3), 0(3, 5), D(4,5), E(6,6), and F(7,5) Show the dendogram separately for each.
0 eligible source papers(b) (i) Apply k-means algorithm on given data to form 3 clusters using Euclidean distance. Consider B,D,G are initial cluster heads, respectively. Show the new centroids at each iteration. 1 2 3 4 5 6 7 8 9 10 13 L4 X 3 8 4 2 7 5 3 9 4 6 Y 5 4 8 7 4 3 6 8 9 5 Class P P N N P P P N N P
0 eligible source papers(a) (i) Consider the following Bayesian Belief Network and answer: Income Deposit a -a High income a 0.3 Large deposit Low income -a 0.7 b 0.1 0.6 Small deposit -b 0.9 0.4 a -a b b -b Default Real estate e 0.35 c 0.05 0.5 0.45 0.6 Pay back Tenant -e 0.65 - c 0.95 0.5 C.55 0.4 Security c - c e -e e -e Security given 8 L5,L6 d 0.01 0.5 0.75 0.31 No security 0.99 0.5 0.25 0.69 (5+3) The customer has a high income (a), a small deposit (-•b), no security (--d), and owns real estate property (e). What is the probability that a customer with these characteristics will default or pay back the loan? What Is the probability for non-payment? Find the following from the given transition probabilities & initial probabilities a s Sunny(S) : 0.7, Cloudy(C) : 0.2, Rainy(R) : 0.1 • If today Is sunny what is the probability of 5 L2 R , C , C , R , C , S ? • What is the probability of having continuous 3 days (3+2) • Cloudy followed by Rainy ? Tomorrow Sunny Cloudy Rainy Sunny 0.4 0.3 0.3 Today Cloudy 0.5 0.2 0.3 Rainy 0.1 0.2 0.7
0 eligible source papers(b) (I) State and explain principal component analysis to reduce the two feature sets: {{ 2, 3, 5, 7,9} { 1 , 4, 0, 6, 2} L5 Describe Hidden Markov Model with a typical case study L2 P A R T - 0 ( 1 X 15 = 15 Marks)
0 eligible source papersConsider an application of "buying a new computer", based on the list of hardware specifications that best suit the needs for the cheapest option available. Build a machine learning model that can estimate the price of a computer system by taking into account its various features. Identify sample basic computer dataset which can help to develop a price estimation model that can analyze historical data and identify patterns and trends in the relationship between computer specifications and prices. By training a machine learning 15 4,5 5, 6 model on this data, the model can learn to make accurate predictions (5+5+5) of prices for new or unseen computer components. Apply any two suitable Machine learning algorithms which can effectively capture complex relationships between features and prices, leading to more accurate price estimates and compare. Justify with i) set of features, ii) set of training & testing dataset. Suggest associated probability, if any based on the chosen ML technique iii)application(workout) of chosen algorithm on the dataset.
0 eligible source papersHistorical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.