Question: ( a ) Consider the following dataset: A 1 2 , 1 0 ? Class , 1 1 ) / Class C 3 , A

(a) Consider the following dataset: A12,10? Class ,11)/Class C3, A4(6,9)/Class C2. In the above dataset, we have four data points with three class labels. Applying the KNN algorithm (K=3), find the class label of the point P(5,7). Numbers within parentheses are coordinates.
(b) Given a linear regression model Y=WTx+ with the following information. The initial weight vector: W=[2,3,7,5)T; Input training sample: x=[5.6,6.8,4,8]T; Bias: =[1.2,1.3,2.2,1.5]T and Training output: Y=[y01,y02,dots,ya4]T. Assuming that the loss function as L(RMSE) to be minimum, find the values of Y vector, given that the model is trained till first pass only. [RMSE = Root Mean Square Error
( a ) Consider the following dataset: A 1 2 , 1 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!