Task 2 For this task, download Regression_Advertising.csv from Blackboard. This is a simple dataset that contains, in un
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Task 2 For this task, download Regression_Advertising.csv from Blackboard. This is a simple dataset that contains, in un
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