SHARE
TWEET

Untitled

a guest Jun 25th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from my_metrics_lib import generate_push_metric, summary_timer
  2.  
  3. TRAINING_SUMMARY = generate_push_metric(                                                          
  4.   "Summary", "training_summary", "Time spent on training."                                        )
  5.  
  6. @summary_timer(TRAINING_SUMMARY)
  7. def do_training_make_models():
  8.     … money-making model training goes here …
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top