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

About supporting safe_sign_sqrt #3

Open
nguyenthikimtruc opened this issue Jan 29, 2019 · 1 comment
Open

About supporting safe_sign_sqrt #3

nguyenthikimtruc opened this issue Jan 29, 2019 · 1 comment

Comments

@nguyenthikimtruc
Copy link

nguyenthikimtruc commented Jan 29, 2019

Thank you for support the smsop gitbub.
Could you please sunport the function safe_sign_sqrt for normalization step of class SignedSqrt(Layer).
and in elif output_normalization == 'cubicroot':
x = PowLayer(scale=0.5, center=np.power(49. / 2 - 1.0 / 3, 1.0 / 3))(x)
, what is the meaning of the number 49. / 2 - 1.0 / 3
Thank you,
Truc

@kcyu2014
Copy link
Owner

Sorry for the late reply. These numbers comes from Wilson–Hilferty transformation. In short, doing a cubic root with this mean and std will make the previous Chi distribution converge to Gaussian.

For details, please refer to

Johnson, N. L.; Kotz, S.; Balakrishnan, N. (1994). "Chi-Square Distributions including Chi and Rayleigh". Continuous Univariate Distributions. 1 (Second ed.). John Wiley and Sons. pp. 415–493. ISBN 978-0-471-58495-7.

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

2 participants