Radar-Lei
Radar-Lei
首先非常感谢您分享自己的习题答案和代码,很受益。 想请教一下,为什么hw2中实现decision stump和hw5中实现SVM时,读取数据load_data中feature X矩阵都加上了一列1呢?hw7 中 实现AdaBoost decision stump读取数据时也没加。SVM也已经把b提出来了,为什么还要加一列bias?  
urllib has been split up in Python 3. The urllib.urlencode() function is now urllib.parse.urlencode(), and the urllib.urlopen() function is now urllib.request.urlopen(). and delete my own key