Distance Functions#
|
Calculates the area between two curves estimated by the trapezoidal rule :param prob1: The first curve :type prob1: 1d array :param prob2: The second curve :type prob2: 1d array :param times: The times at which the curves are evaluated :type times: 1d array |
|
Calculates the area between two curves estimated by the euler rule :param prob1: The first curve :type prob1: 1d array :param prob2: The second curve :type prob2: 1d array :param times: The times at which the curves are evaluated :type times: 1d array |
|
Calculates the euclidean distance between two curves at respective timepoints |
|
Calculates the cross entropy between two curves at respective timepoints |
|
The cross entropy between two curves and the mean of the two curves |
|
KL divergence of second probability from first probability |
|
The symmetric version of KL divergence |
|
The maximum difference between two curves |