Giter Site home page Giter Site logo

irrcac's People

Contributors

afergadis avatar bensch98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

peide bensch98

irrcac's Issues

Metrics not working as it requires positional argument: 'confidence'

I am trying to construct a simple example for annotator agreement using e.g. Fleiss Kappa. I am doing the following:

from irrCAC.raw import CAC

rater_df = pd.DataFrame()
rater_df['annotator1'] = [0,0,0,1,0]
rater_df['annotator2'] = [0,1,0,1,0]

cac2raters = CAC(rater_df)
print(cac2raters.krippendorff())
print(cac2raters.fleiss())

However I keep getting the error rv_generic.interval() missing 1 required positional argument: 'confidence' no matter what statistic I make use off. What could be going on here?

Interpretation of Results

How should the results be interpreted?

For example, in the following outputs of .gwet function:
What is the meaning of confidence value, interval, p_value, se, pa, z, etc?
Which of these variables tell me about gwet value?

{'coefficient_value': 0.118, 'coefficient_name': 'AC1', 'confidence_interval': (0.1021, 0.1339), 'p_value': 0.0, 'z': 14.91258, 'se': 0.00791, 'pa': 0.2766, 'pe': 0.17981}, 'weights': array([[1., 0., 0., 0., 0.],

Thank you.

Percent Agreement in docs is different when calculated with Kripendorff

First of all, thank you for porting the package to Python. Much appreciated.

That is not a bug that I have faced, but I noticed that the pa value for the Kruppendorff's alpha in the Raw Ratings Documentation is different from every other kappa. I also noticed that the formula in the code differs from the others.

My apologies for not having time to assert which formula is right or wrong. Thank you for checking that out.

Best,
Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.