When I run the correction in the sandbox I observed results in line with text description. But when I run it locally here are the coefficients of linear regression obtain with the correlated data : array([ 3.6313933 , 13.46802113, -0.20549345, -0.18929961, 0.11117205,
3.6313933 , 13.46802113, 3.6313933 , 13.46802113])
It means that when features are repeated coefficient is divided accordingly.
What can be the reason for this difference when running locally or in the sandbox ?
Thanks for help.