KL_divergence: Compute the KL divergence between two probability...

View source: R/assessment.R

KL_divergenceR Documentation

Compute the KL divergence between two probability distributions

Description

This function computes the KL divergence between two probability distributions.

Usage

KL_divergence(p, q)

Arguments

p

A probability distribution.

q

Another probability distribution.

Value

KL(p || q)


cbg-ethz/TreeMHN documentation built on Jan. 29, 2024, 1:29 p.m.