code: public void save(String storageName) {
          //store the objects on storage
          storageEngine.saveObject("modelParameters", modelParameters);
          storageEngine.saveObject("trainingParameters", trainingParameters);
  
          //rename the storage
          storageEngine.rename(storageName);
  
          //reload the model parameters, necessary for the maps to point to the new location
          modelParameters = (MP) storageEngine.loadObject("modelParameters", ModelParameters.class);
      }
docs: Saves the KnowledgeBase using the storage engine.