確實(shí)應(yīng)該是 theta = theta - alpha * dot(X.T, (dot(X, theta) - Y)) 或者是 theta = theta + alpha *dot(X.T, (Y- dot(X, theta))
2018-05-16
購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)
舉報(bào)