ilarinieminen / SOM-Toolbox

GNU General Public License v2.0
119 stars 56 forks source link

Parallelize SOM-Toolbox #17

Open jiperez91 opened 7 years ago

jiperez91 commented 7 years ago

Hi everyone:

There is a way to parallelize the som_make or som_batchtrain functions? I want to speed up this functions but I don't have the Parallel Computing Toolbox.

twocs commented 7 years ago

I don't believe that it would be straightforward to parallelize the functions in SOM-Toolbox. It would basically require line-by-line modifications.

But have you checked out the C++ project Somoclu. "Somoclu is a massively parallel implementation of self-organizing maps" https://github.com/peterwittek/somoclu

Somoclu has different interfaces, including Python, R and MATLAB version. In its Readme, it states that "the MATLAB version [integrates] with somtoolbox." That means you can prepare the SOM in Somoclu and still use SOM-Toolbox for visualization.