View full-text article in PMC Biomimetics (Basel). 2024 Mar 13;9(3):175. doi: 10.3390/biomimetics9030175 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1: ST-SOM Input: {uT}, sizefirst_layer_SOM,lrfirst_layer_SOM, sizesecond_layer_SOM,lrsecond_layer_SOM Output: spatio−temporalstructure 1 {UT},d←Data_dependent_element_encoding({uT}) 2 Initialise_first_layer_SOM← Initialise_SOM(sizefirst_layer_SOM,lrfirst_layer_SOM,d); 3 First_layer_SOM←SOM_learning_memory(initialise_first_layer_SOM,{UT}); 4 {UTfirst_layer_SOM}←BMU_seq({UT}); 5 {UHD},D←VSA_encoding({UTfirst_layer_SOM}); 6 Initial_second_layer_SOM← Initialise_SOM(sizesecond_layer_SOM,lrsecond_layer_SOM,D); 7 Second_layer_SOM← iSOM_learning_memory(initialise_second_layer_SOM,{UHD});