Research Article
Recall Network: A Simple Brain-Inspired Algorithm for Classification
Algorithm 3
Predicting the class by a trained recall network.
| input: test data | | output: the class of the data | | Determining the category by votes from all edges; | | for i ⟵ 1 to the number of attributes−1 do | | RowNoi = the row number of the value in ith layer; | | RowNoi+1 = the row number the value in (i + 1)th layer; | | e = the edge between the Node (i, RowNoi) and Node (i, RowNoi+1); | | ResultVector+ = e.ClassVector | | end | | return the mode in ResultVector |
|