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
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.
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