IKH

Practice Question

In this segment, you are required to perform the lab on the given dataset and answer the questions that follow.

Consider the ‘Advertising’ dataset, which consists of columns such as ‘TV’, ‘Radio’, ‘Newspaper’, and ‘Sales’. You are required to define the relationships between the Sales column and other independent variables.

Download the dataset from the link given below:

You are required to use gradient descent and sklearn linear regression to answer the question below.

Note

  • The data doesn’t require any cleaning.
  • You need to normalise the data before building the gradient descent model.

Download the solution from the link given below.

In the next session, you will go through multiple linear regression in detail.

Report an error