Photrek / Nonlinear-Statistical-Coupling

Apache License 2.0
5 stars 1 forks source link

Coupled Product Function #40

Open kenricnelson opened 3 years ago

kenricnelson commented 3 years ago

The NSC library needs to include a Coupled Product Function. This is a high priority as it forms the foundation for the Generalized Mean function and will be used in other ways regarding the performance evaluation.

The specification is detailed in the mathematical code. The basic structure is exp_k (Total (log_k (input is typically a probability)). The first priority would be to implement a version similar to the mathematical code in which all the inputs have the same dimension. A lower priority would be to allow each input to have a different dimension.

See K. P. Nelson, “A definition of the coupled-product for multivariate coupled-exponentials,” Phys. A Stat. Mech. its Appl., vol. 422, pp. 187–192, Mar. 2015.

Kevin-Chen0 commented 3 years ago

Hey Hong, I have merged your PR. Can this issue be closed?

hxyue1 commented 3 years ago

@Kevin-Chen0 I believe this issue can be closed.

kenricnelson commented 3 years ago

Thanks Hong, this is a nice accomplishment. Are there any test results which we can post as a comment with this issue? Once you've done this you can close the issue.