$25
1. Do the following
(a) Return the 30x2 matrix where first column presents no. of hours of sunshine and second column presents no. of icecreams sold. Divide the data into training and testing sets.
(b) Plot the training data into a figure using the ”plot” command. Set the axes labels using the ”xlabel” and ”ylabel” commands.
(c) Apply Least Square Regression to predict the no. of icecreams sold given the no. of hours of sunshine. Plot it using ”plot” command.
2. Perform the aforesaid steps for multiple independent variables. You can define your own data or can use any publicly available dataset.
—– Page 1 of 1 —–