kl_div_from_uniform: Kullback-Leibler divergence from uniform

Description Usage Arguments Value

View source: R/features.R

Description

Gets the Kullback-Leibler divergence of a provided distribution from a uniform distribution.

Usage

1
2
3
4
kl_div_from_uniform(x)

## S3 method for class 'smooth_spectrum'
kl_div_from_uniform(x)

Arguments

x

Input distribution.

Value

The Kullback-Leibler divergence from a uniform distribution to the input distribution.


pmcharrison/har18 documentation built on April 1, 2021, 9:22 p.m.