model-fitting

ValueError: x and y must have same first dimension, but have different shapes

ValueError: x and y must have same first dimension, but have different shapes Question: I am currently trying to fit some measurement data into three polynomial functions of the degrees 1, 2, and 3. My code is as follows: ylist = [81, 50, 35, 27, 26, 60, 106, 189, 318, 520] y = np.array(ylist) t …

Total answers: 1