コード例 #1
0
 def save(self):
   """Saves model to disk using joblib."""
   save_to_disk(self.model, self.get_model_filename(self.model_dir))
コード例 #2
0
 def save(self):
     """Saves scikit-learn model to disk using joblib."""
     save_to_disk(self.model_instance,
                  self.get_model_filename(self.model_dir))