Change the way the 'y' variable is passed to the 'fit' function. It should be passed as 1d array instead of column vector.
Change the way the 'y' variable is passed to the 'fit' function. It should be passed as 1d array instead of column vector.