Shape of y and y predicted

sir shape of y predicted is very less that actual values of y as there are more than one value of y and only 1 value of y predicted so i couldnt perform subtraction operation on np.sum((Y-Y_predicted)**2)

sir but shape of y_predicted must be smaller than acxtual y, as actual y is spread everywhere and have a lot of values