摘要:
# -*- coding:UTF-8 -*-import numpydef loadDataSet(): return dataMat,labelMatdef sigmoid(inX): return 1.0/(1+numpy.exp(-inX))def gradAscent(dataMatIn,c... 阅读全文
posted @ 2015-12-05 15:48 Lyqatdl 阅读(233) 评论(0) 推荐(0)
posted @ 2015-12-05 15:48 Lyqatdl 阅读(233) 评论(0) 推荐(0)
posted @ 2014-12-15 08:25 Lyqatdl 阅读(528) 评论(0) 推荐(0)
posted @ 2014-12-07 00:21 Lyqatdl 阅读(400) 评论(0) 推荐(0)
posted @ 2014-11-26 20:45 Lyqatdl 阅读(156) 评论(0) 推荐(0)
posted @ 2014-11-26 14:31 Lyqatdl 阅读(361) 评论(0) 推荐(0)
posted @ 2014-11-26 14:22 Lyqatdl 阅读(138) 评论(0) 推荐(0)
posted @ 2014-11-26 13:22 Lyqatdl 阅读(303) 评论(0) 推荐(0)