You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using TemplateExpressionSpec to fit an expression (i.e., z0) that is undefined/complex after a certain input value (e.g., x0 = L). The template returns the relative error, which the loss function interprets as the loss (as per your previous suggestions). However, in fitting the expression (z0), the loss function may try to evaluate the relative error where the fitted expression is undefined (i.e., x0 > L).
Is there any way to configure the library's methods to have the loss function only conduct calculate the loss for defined / real values (i.e., x0 < L)? The following is a snippet of my code to fit the discontinuous expression.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using
TemplateExpressionSpec
to fit an expression (i.e.,z0
) that is undefined/complex after a certain input value (e.g.,x0 = L
). The template returns the relative error, which the loss function interprets as the loss (as per your previous suggestions). However, in fitting the expression (z0
), the loss function may try to evaluate the relative error where the fitted expression is undefined (i.e.,x0 > L
).Is there any way to configure the library's methods to have the loss function only conduct calculate the loss for defined / real values (i.e.,
x0 < L
)? The following is a snippet of my code to fit the discontinuous expression.Thanks again for the help.
Beta Was this translation helpful? Give feedback.
All reactions