Calling the SOM function will currently generate the weights of the SOM and internally run MapDataToCodes on the dataset. However, the user may not want to immediately run MapDataToCodes on the dataset. For example, to save memory, the user may decide to train the SOM on just a subset of the data, then use the weights to directly invoke MapDataToCodes on the entire dataset.
The SOM function should include a flag to allow the user to disable the call to MapDataToCodes and just save the SOM weights for applications such as this.
Calling the
SOM
function will currently generate the weights of the SOM and internally runMapDataToCodes
on the dataset. However, the user may not want to immediately runMapDataToCodes
on the dataset. For example, to save memory, the user may decide to train theSOM
on just a subset of the data, then use the weights to directly invokeMapDataToCodes
on the entire dataset.The
SOM
function should include a flag to allow the user to disable the call toMapDataToCodes
and just save the SOM weights for applications such as this.