kan-qi / UMLx

Analyze software architecture and generate insights about software development complexities, risks, and costs.
3 stars 0 forks source link

Write the save functions to save the trained models into files #637

Open kan-qi opened 4 years ago

kan-qi commented 4 years ago

The goal is to save the trained models into the files after we evaluate them.

  1. we train the models here:

image

  1. in this function there is a iterative process to save the models (parameters) into files.

image

this m_save is a S3 generic function, which will call the specific m_save function of each model, for example,

image

  1. some external links to save R objects into files: https://www.r-bloggers.com/a-better-way-of-saving-and-loading-objects-in-r/

image