Python實現感知機算法

感知機算法是機器學習最基本的理論算法之一,其原理如下圖所示: 該算例和應用以及數據集可從博主的github內下載:https://github.com/Airuio/python- 其python代碼如下: improt numpy as np   class perceptron(object):     def __init__(self,eta = 0.1,n_iter = 10):    
相關文章
相關標籤/搜索