Learn R Programming

sweater (version 0.1.8)

mac_es: Calculation of MAC Effect Size

Description

This function calculates the mean of cosine distance values. If possible, please use calculate_es() instead.

Usage

mac_es(x)

Value

Mean of all cosine similarity values

Arguments

x

an object from the function mac

Author

Chung-hong Chan

References

Manzini, T., Lim, Y. C., Tsvetkov, Y., & Black, A. W. (2019). Black is to criminal as caucasian is to police: Detecting and removing multiclass bias in word embeddings. arXiv preprint arXiv:1904.04047.