課程
/后端開發(fā)
/Python
/機器學習-實現(xiàn)簡單神經(jīng)網(wǎng)絡(luò)
搞不懂為什么self.w_ = np.zero(1 + x.shape[1])沒有報錯。。。module 'numpy' has no attribute 'zero'
而且為什么X有shape屬性。。。
2017-04-05
源自:機器學習-實現(xiàn)簡單神經(jīng)網(wǎng)絡(luò) 3-2
正在回答
np.zeros才對,x是數(shù)組所以有shape屬性
舉報
人工智能時代,你準備好成為抓住機遇的那百分之二嗎。
1 回答'numpy' has no attribute 'predict'
3 回答z計算的問題
2 回答X未定義的問題
1 回答關(guān)于for循環(huán)的問題
2 回答運行視頻中的代碼有問題
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2017-04-08
np.zeros才對,x是數(shù)組所以有shape屬性