You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for i in range(1, degree):
# for j in range(0, i):#这里x2始终不能达到最高次幂,修改后就好了,修改后accuracy 可达97%
for j in range(0, i+1):
data2['F' + str(i) + str(j)] = np.power(x1, i-j) * np.power(x2, j)
The text was updated successfully, but these errors were encountered:
degree = 5
x1 = data2['Test 1']
x2 = data2['Test 2']
data2.insert(3, 'Ones', 1)
for i in range(1, degree):
# for j in range(0, i):#这里x2始终不能达到最高次幂,修改后就好了,修改后accuracy 可达97%
for j in range(0, i+1):
data2['F' + str(i) + str(j)] = np.power(x1, i-j) * np.power(x2, j)
The text was updated successfully, but these errors were encountered: