Warning: Declaration of action_plugin_tablewidth::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /s/bach/b/class/cs545/public_html/fall16/lib/plugins/tablewidth/action.php on line 93
code:perceptron [CS545 fall 2016]

User Tools

Site Tools


code:perceptron

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
code:perceptron [2015/08/28 10:35]
asa
code:perceptron [2015/08/28 10:36]
asa
Line 14: Line 14:
     """​An implementation of the perceptron algorithm.     """​An implementation of the perceptron algorithm.
     Note that this implementation does not include a bias term"""​     Note that this implementation does not include a bias term"""​
- 
-    attributes = {'​max_iterations':​ 50, 
-                  '​learning_rate'​ : 0.2} 
  
     def __init__(self,​ max_iterations=100,​ learning_rate=0.2) :     def __init__(self,​ max_iterations=100,​ learning_rate=0.2) :
code/perceptron.txt ยท Last modified: 2016/09/08 11:04 by asa