Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation loss logger #30

Closed
axsk opened this issue Sep 9, 2024 · 1 comment
Closed

Validation loss logger #30

axsk opened this issue Sep 9, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@axsk
Copy link
Owner

axsk commented Sep 9, 2024

This is long overdue.

We have the iso.loggers being called in the iso run! functions.
We should have a

struct ValidationLogger{T}
  logevery::Int
  loss::Vector{Float64}
  iter::Vector{Int}
  validationdata::T
end

which computes the loss on validationdata every logevery calls and stores it, together with the length of the current iso.losses (to align them in plots).

@axsk axsk added the good first issue Good for newcomers label Sep 9, 2024
@axsk
Copy link
Owner Author

axsk commented Sep 27, 2024

implemented in 7ece9d1

@axsk axsk closed this as completed Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant