从0开始写多项式回归代码
代码文件夹sourcecode-cn
import numpy as np
x = np.array([1,4])
y = np.array([[2,3,4],[4,5,6]])
print("x阶数:" + str(x.shape))
print("y阶数:" + str(y.shape))
result = np.dot(x, y)
print(result)
print("result阶数:" + str(result.shape))
import numpy as np
impo...
eddieqiao.hashnode.dev2 min read