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

Nan's #5

Open
ryanpeach opened this issue Jun 26, 2018 · 0 comments
Open

Nan's #5

ryanpeach opened this issue Jun 26, 2018 · 0 comments

Comments

@ryanpeach
Copy link

What are your best practices for dealing with NaN's in the output.

I've decided to use masking in the reduce mean for finite values only:

tf.reduce_mean(tf.boolean_mask(out, tf.is_finite(out))

I'm thinking of putting in a regularizer or two, and maybe setting max values for a and b?

For instance, if you make your time variable right, the mean of the Weibull should never be greater than 1 I suppose.

Anything else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant