Page 1 of 1

Task 2 For this task, download Regression_Advertising.csv from Blackboard. This is a simple dataset that contains, in un

Posted: Fri Jul 08, 2022 6:45 am
by answerhappygod
Task 2 For This Task Download Regression Advertising Csv From Blackboard This Is A Simple Dataset That Contains In Un 1
Task 2 For This Task Download Regression Advertising Csv From Blackboard This Is A Simple Dataset That Contains In Un 1 (37.44 KiB) Viewed 41 times
Task 2 For this task, download Regression_Advertising.csv from Blackboard. This is a simple dataset that contains, in unit of £, the marketing spend along with the company sales for each month for a Software company. Using the advertising data, model the linear relationship between the marketing budget and sales. Then answer the following questions: How much sale can we expect when the marketing budget is zero? • For a marketing spend of £7,500, how much sale can we expect? Tip: use the Python script. Task 3 Modify the Python script to compute the cost function J for the flitted line in Task 2. Provide a snapshot of your additions to the script. Also provide the results. Tip: consult the lecture notes.