inceptalytics
inceptalytics copied to clipboard
allow passing keyword arguments for IAA measures.
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()])