Download data from OA 8.5, which was obtained from BP Research (image analysis by Ronit Katz, University of Oxford). This dataset contains measurements on 48 rock samples from a petroleum reservoir. Here 12 core samples from petroleum reservoirs were sampled in four cross-sections. Each core sample was measured for permeability, and each crosssection has total area of pores, total perimeter of pores, and shape. As a result, each row in the dataset has the following four columns:
i. Area: area of pore space, in pixels out of 256 by 256
ii. Peri: perimeter in pixels
iii. Shape: perimeter/square-root(area)
iv. Perm: permeability in milli-darcies First, create a linear model and check if the perm has linear relationship with the remaining three attributes. Next, use the gradient descent algorithm to find the optimal intercept and gradient for the dataset.