PlotterIP

class Dock2D.Utility.PlotterIP.PlotterIP(experiment=None, logfile_savepath='Log/losses/IP_loss/')
__init__(experiment=None, logfile_savepath='Log/losses/IP_loss/')

Initialize paths and filename prefixes for saving plots.

Parameters
  • experiment – current experiment name

  • logfile_savepath – path to load and save data and figs

plot_loss(ylim=None, show=False, save=True, plot_combined=False)

Plot the current interaction pose (IP) experiments loss curve. The plot will plot all epochs present in the log file.

Parameters
  • ylim – set the upper limit of the y-axis, initial IP loss can vary widely

  • show – show the plot in a window

  • save – save the plot at specified path

plot_rmsd_distribution(plot_epoch=1, show=False, save=True)

Plot the predicted RMSDs distributions as histogram(s), depending on how many log files exist.

Parameters
  • plot_epoch – epoch of training/evalution to plot

  • show – show the plot in a window

  • save – save the plot at specified path