jaehongyoon Posted September 24, 2015 Report Share Posted September 24, 2015 Hi, Im trying to calculate kullback-leibler divergence with LabVIEW. The following equation is the definition of Kullback-Leibler divergence. Im currently using "probability distribution function estimation" to do this job. Problem I'm facing is that 1) estimated PDF gives only axis values (probability values not available) 2) since the distance requires integral between to PDF functions, summation would not work if two functions are under different range. For example, according to my code default values, since both PDFs (please refer to the graph) are on different range, direct multiplication and summation of cells cannot be performed. Is there ways to solve both problems? Thank you and have a wonderful day. Quote Link to comment
jaehongyoon Posted September 24, 2015 Author Report Share Posted September 24, 2015 I solved the problem by using general histogram. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.