Grid Dynamics Interview Question

explain linear regression