i. Predict the label of the test object (–1, 1) for k = 2. ii. What is the prediction for the test object (−1,1) for k = 3? iii. What are the advantages of ANN? (c) Briefly discuss two approaches to directly estimating the test error associ-ated with fitting a particular machine learning method on a set of observa-tions.[6 marks] (d) Briefly explain generalised additive models (GAMs). What are the advantages and disadvantages of the GAMS?[6 marks]
Fig: 1
Fig: 2
Fig: 3
Fig: 4
Fig: 5
Fig: 6
Fig: 7
Fig: 8
Fig: 9
Fig: 10
Fig: 11