摘要:
# -*- 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 阅读(244) 评论(0) 推荐(0)
posted @ 2015-12-05 15:48 Lyqatdl 阅读(244) 评论(0) 推荐(0)
posted @ 2014-12-15 08:25 Lyqatdl 阅读(532) 评论(0) 推荐(0)
posted @ 2014-12-07 00:21 Lyqatdl 阅读(405) 评论(0) 推荐(0)
posted @ 2014-11-26 20:45 Lyqatdl 阅读(167) 评论(0) 推荐(0)
posted @ 2014-11-26 14:31 Lyqatdl 阅读(376) 评论(0) 推荐(0)
posted @ 2014-11-26 14:22 Lyqatdl 阅读(140) 评论(0) 推荐(0)
posted @ 2014-11-26 13:22 Lyqatdl 阅读(317) 评论(0) 推荐(0)