Help with custom loss function #676
Answered
by
MilesCranmer
ccclalala123
asked this question in
Q&A
-
Hi, I am trying to create a custom loss function based on the dataset. But I am not sure how to use this way in the julia loss function or whether it would be even possible. Any help would be greatly appreciated! Current Code:
|
Beta Was this translation helpful? Give feedback.
Answered by
MilesCranmer
Jul 22, 2024
Replies: 1 comment 1 reply
-
Thanks for the post. I think what you will want to do is create a constant in Julia. You can see my answer here: #668 (comment) for a related tip. I think this will apply here as well – you would create a constant for |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ccclalala123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the post. I think what you will want to do is create a constant in Julia. You can see my answer here: #668 (comment) for a related tip. I think this will apply here as well – you would create a constant for
S11
andS22
.