same issue with me as i commented the line;
reg.fit(x, y) # :))
you must have to add the fit as it predicts on the basis of given data in form of x and y (supervised learning)