saveModel

A helper function for saving a model to a binary file.

Parameters:

  • model - the model returned by trainCoxMlp.
  • file - name of file to save to.