Skip to content

Conversation

@davidwalter2
Copy link
Collaborator

  • In the fitter callbrack, the loss is stored as function of time and epoch
    • Two 1D histograms are stored, one for Loss vs. epoch, one for Time vs. epoch
  • Add plotting script for plotting loss vs. time and epoch
  • Support other minimizers

@davidwalter2 davidwalter2 mentioned this pull request Jan 6, 2026
Copy link
Collaborator

@lucalavezzo lucalavezzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with small changes. Let me know if you wanna bother changing these, or if I should just merge @davidwalter2

":",
"-.",
]
linestyles = linestyles[: len(epochs)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe something like

linestyles = [
    linestyles [i % len(linestyles)]
    for i in range(len(epochs))
]

to avoid weird behavior for when len(epochs) > len(linestyles)? I don't know if that's a real problem.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes makes sense

loc=args.legPos,
)

# plot_tools.fix_axes(ax1, fig, logy=args.logy)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drop comment

@lucalavezzo lucalavezzo merged commit 3c161c6 into WMass:main Jan 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants