modify SOM so that test data are transparent to the model