-
Notifications
You must be signed in to change notification settings - Fork 5
GenericHybrid with DimensionalData and extra_loss function #200
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
Conversation
missing => might be a pre-processing we do for the user
…rameters to 0.5 between min max - hybrid_name fills up the disk space when experiementing - log10 yscale breaks with NSE metric comes from negative to positive
|
Working example in projects/book_chapter/example_synthetic.jl for both |
… IDE has autoformat on save on with with other formatting rules
src/utils/logging_loss.jl
Outdated
|
|
||
| function compute_loss(ŷ, y::AbstractDimArray, y_nan::AbstractDimArray, targets, loss_spec, agg::Function) | ||
| losses = [_apply_loss(ŷ[k], y[col = At(k)], y_nan[col = At(k)], loss_spec) for k in targets] | ||
| losses = [_apply_loss(ŷ[k], y[col=At(k)], y_nan[col=At(k)], loss_spec) for k in targets] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in #157 I did use col to match KeyArray syntax, and this will work for now, but note that in general DimArrays / YAXArrays will not have this name. We will need to discuss this further.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we just rename whatever the user gives and print something original axis x renamed to row, other axis untouched
extra_loss function can be defined like so. Here steering rb to 5