New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Allow category-wise Fleiss' kappas. #9242
base: main
Are you sure you want to change the base?
Conversation
Thanks @jseabold We have Holder and HolderTuple which are now returned by most newer functions. For transition and ambiguous cases where extra information might not be a priority, I had used The Holder classes have a Aside: Holder and HolderTuple do not subclass python dict or tuple, because I only wanted to support/maintain explicitly defined methods and not to have to worry about inherited methods from dict or tuple. |
75c0231
to
f51773a
Compare
Rebased on PR with results class returned. Made it an error to request Randolph's Kappa with details. Not sure it makes much sense to assume a marginal 50/50 chance between a single category vs. all others? If that makes sense, will need to remove that code path from the detail helper function, and I don't think I have a test yet for method = 'fleiss' and return_results = False. |
The API is a bit of a mess with many conditional returns.
Probably worth adding a bunch return and maybe a separate function with bells and whistles and deprecating the old one maybe?
Includes #9241, so it should go in after that. Will leave as draft until that's merged.
NumPy's guide.