Coder Social home page Coder Social logo

Comments (6)

dustalov avatar dustalov commented on July 22, 2024

Hi, thank you for reporting this! I can confirm it is a bug.

The load_crowdspeech_dataframes() method does not renames the corresponding fields: https://github.com/Toloka/crowd-kit/blob/main/crowdkit/datasets/_loaders.py#L84

You can work around this bug by manually renaming the performer column to the worker column and text to output.

Also, please add the title to this reported issue.

from crowd-kit.

pilot7747 avatar pilot7747 commented on July 22, 2024

@dustalov I maybe blind but I see
labels = pd.read_csv(join(data_path, 'crowd_labels.csv')).rename(columns={'output': 'text', 'performer': 'worker'})

Seems like fields names must be correct.

from crowd-kit.

pilot7747 avatar pilot7747 commented on July 22, 2024

@Senarect I checked on my machine an on crowdkit==1.2.0 everything seems correct.
image

from crowd-kit.

pilot7747 avatar pilot7747 commented on July 22, 2024

@Senarect Pls update the Crowd-Kit and inform us if the issue still appears.

from crowd-kit.

dustalov avatar dustalov commented on July 22, 2024

@pilot7747 @Senarect I think I understand the confusion.

In CrowdSpeech currently we have task, worker, and text columns. However, some implementation of our algorithms for textual aggregation require output column, some require text column, see #61.

If we should keep text, please close this issue.

from crowd-kit.

pilot7747 avatar pilot7747 commented on July 22, 2024

Closing the issue in favour of fixing the bug in #61

from crowd-kit.

Related Issues (14)

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.