Research Article
A Temporal Pool Learning Algorithm Based on Location Awareness
| (1) | Get of current input from spatial pool: | | (2) | Get from last time | | (3) | For to do: | | (4) | if then | | (5) | for to do | | (6) | if then | | (7) | set the current cell to | | (8) | if (learn) then | | (9) | reinforce the segment of the cell; | | (10) | endif | | (11) | else | | (12) | select the less used cell to | | (13) | if (learn) | | (14) | create connected segment between and | | (15) | endif | | (16) | endif | | (17) | endfor | | (18) | else | | (19) | if then | | (20) | if (learn) punish the segment of the cell endif | | (21) | endif | | (22) | endif | | (23) | endfor | | (24) | if (learn) endif | | (25) | Comput the |
|