inceptalytics icon indicating copy to clipboard operation
inceptalytics copied to clipboard

allow passing keyword arguments for IAA measures.

Open simulacrum6 opened this issue 2 years ago • 0 comments

Some IAA measures allow some customisation (e.g. alpha and beta values in gamma agreement score). Users should be able to pass these through using keyword arguments:

gamma_score = view.agreement(measure='gamma', arguments={'alpha': 0.5, 'beta': 1.5, fast=False})

Unifying agreement measures under a shared interface and allowing to pass them would probably be a good addition as well, making an extension to multiple measures simpler.

gamma_score = view.agreement(measure=Gamma(alpha=0.5, beta=1.5, fast=False))
gamma_score, alpha_score = view.agreement(measure=[Gamma(), KrippendorffsAlpha()])

simulacrum6 avatar Mar 09 '22 08:03 simulacrum6