#NEWLINE# @ overrides #NEWLINE# def log_diagnostics( self , paths ) : #NEWLINE# #INDENT# progs = [ ( path [ 'observations' ] [ ( - 1 ) ] [ ( - 3 ) ] - path [ 'observations' ] [ 0 ] [ ( - 3 ) ] ) for path in paths ] #NEWLINE# logger . record_tabular ( 'AverageForwardProgress' , np . mean ( progs ) ) #NEWLINE# logger . record_tabular ( 'MaxForwardProgress' , np . max ( progs ) ) #NEWLINE# logger . record_tabular ( 'MinForwardProgress' , np . min ( progs ) ) #NEWLINE# logger . record_tabular ( 'StdForwardProgress' , np . std ( progs ) )