In this problem, you are provided with a dataset that pertai…
In this problem, you are provided with a dataset that pertains to products sold by an online retailer. You are required to answer the following questions to demonstrate your understanding/calculation of linear regression and logistic regression. Specifically, if any decimal values appear at any step of the calculation (not just in the final result), you must round them to integers for consistency. 1. (5 points) Which feature(s) and output from the above dataset would you choose for Logistic Regression, and why? 2. (15 points) If we define Price and Weight as the output and feature, respectively, please use the closed-form solution to find the optimal line for the linear regression above.