Replies: 2 comments
-
See attached for the example outputs for the various target values |
Beta Was this translation helpful? Give feedback.
0 replies
-
No idea. Probably due to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are trying to shape a pinn output deepxde.IC.PointSetBC into a pdf (sum = 1, non-negative)
Here is the BC:
I wanted to test what the pinn produces for a few simple loss functions:
Z is a simple loss to steer the pinn to shaping the BC to have a sum == target
When target above == 0, the output has a sum of 6
When target above == 0.5, the output has a sum of 9
When target above == 1, output has sum of 12
The pattern seems to be: output_sum = state_max + state_max * target
And indeed, if I want the output_sum == 1, I set target == 5/6 and it does produce what I expect
I was wondering why this is the case? Why does the output's sum not equal what the loss function is penalizing? How might it be related to state_max - state_min?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions