class_docstr: Class that defines the methods necessary to hook into process.
class_docstr_tok: ["Class","that","defines","the","methods","necessary","to","hook","into","process","."]
code: def on_train_end(self, output_directory, *args, **kwargs):
      if self.cometml_experiment:
          self.cometml_experiment.log_asset_folder(output_directory)
  
file_path: ludwig/ludwig/contribs/comet.py
imports: import logging
  import os
  from datetime import datetime
  from ludwig.api_annotations import PublicAPI
  from ludwig.callbacks import Callback
  from ludwig.utils.package_utils import LazyLoader
label_desc: Use image node_id 4 for calling the CometCallback obj's underlying member method code with example usage: obj.on_train_end(output_directory) without return types