Question: You are given the following code fragment: (b) Write Python code with Scikit-Learn to complete the following tasks: (i) Get Split X and y into

You are given the following code fragment: (b) Write Python code with Scikit-Learn to complete the following tasks: (i) Get Split X and y into training set and testing set with ratio 7:3; The import statement for the required Python module should be include in your code. [3 marks] (ii) Build and train the multiple linear regression model(rg_model). The import statement for the required Python module should be included in your code. [3 marks] (iii) Name TWO metrics for the evaluation of model performance in linear regression model. [2 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
