In optional lab: C1_W2_Lab04_FeatEng_PolyReg_Soln, in this line :
plt.plot(x,X@model_w + model_b, label=“Predicted Value”); plt.xlabel(“X”); plt.ylabel(“y”); plt.legend(); plt.show(), what does X@model_w means?
Thanks.
In optional lab: C1_W2_Lab04_FeatEng_PolyReg_Soln, in this line :
plt.plot(x,X@model_w + model_b, label=“Predicted Value”); plt.xlabel(“X”); plt.ylabel(“y”); plt.legend(); plt.show(), what does X@model_w means?
Thanks.
Here’s an answer I found on the internet via a search:
So matrix multiplication then… (I’d only seen @ used before as a decorator)
This table is also a helpful reference.