Skip to content
ajschumacherPublic

About

Common-Language Effect Size

Resources

Stars

8 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Common-Language Effect Size

The Common-Language Effect Size (CLES) is the probability that a sample from one group is greater than a sample from another group. It's used sometimes as the effect size accompanying a Mann–Whitney U test. If the two groups are positive and negative examples for a classifier, it's the same thing as AUC.

This is a Python implementation that calculates the exact (non-parametric) value. It enforces the strict inequality (no half-credit when equal).

from cles import cles
cles([1, 2], [2, 3])
## 0.75

About

Common-Language Effect Size

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages