rnsb_es: Calculation the Kullback-Leibler divergence

View source: R/rnsb.R

rnsb_esR Documentation

Calculation the Kullback-Leibler divergence

Description

This function calculates the Kullback-Leibler divergence of the predicted negative probabilities, P, from the uniform distribution. If possible, please use calculate_es() instead.

Usage

rnsb_es(x)

Arguments

x

an rnsb object from the rnsb function.

Value

the Kullback-Leibler divergence.

References

Sweeney, C., & Najafian, M. (2019, July). A transparent framework for evaluating unintended demographic bias in word embeddings. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (pp. 1662-1667).


chainsawriot/sweater documentation built on June 29, 2024, 8:17 p.m.