Coder Social home page Coder Social logo

Comments (7)

NLPpupil avatar NLPpupil commented on May 22, 2024 2

�I figured out the reason.

The reason why "errors found by cleanlab are mostly correct" is that my data is almost clean !

If I randomly replace 10% of the label with an incorrect label, and check the outputs of ordered_label_errors = get_noise_indices(), I found that that 97% of the top 100 instances are really noises and only 9% of the last 100 instances are noises!

Thank your for your excellent work.

from cleanlab.

cgnorthcutt avatar cgnorthcutt commented on May 22, 2024

Hi @NLPpupil . Can you please share (1) examples of your psx, and matching s, (2) how you computer psx, and (3) a minimum working example of your code?

from cleanlab.

NLPpupil avatar NLPpupil commented on May 22, 2024

@cgnorthcutt Thank you, showing you the examples and code is a bother for you. I will double check first.

from cleanlab.

NLPpupil avatar NLPpupil commented on May 22, 2024

Hi @cgnorthcutt , could you please tell me how to use cleanlab.models.fasttext.py to find label errors in details? I have a train file which is of fasttext format and I want to find the labels errors in the train file. Thank you very much .

from cleanlab.

cgnorthcutt avatar cgnorthcutt commented on May 22, 2024

Hi @NLPpupil . Create an instance of the object model = FastTextClassifier. Then use the same approach as any other model: https://github.com/cgnorthcutt/cleanlab#learning-with-noisy-labels-in-3-lines-of-code

from cleanlab.

NLPpupil avatar NLPpupil commented on May 22, 2024

I tried, but the model trained is just like the normal model trained by fasttext command line.Below is my code:
model = cleanft.FastTextClassifier(train_data_fn='train.txt',test_data_fn='test.txt',kwargs_train_supervised={'dim':200,'epoch':10,'minCount':5,'wordNgrams':3}) model.fit() predicted_test_labels = model.predict(train_data=False)

from cleanlab.

cgnorthcutt avatar cgnorthcutt commented on May 22, 2024

Please provide the full error stack. Also cleanlab does not have a cleanft.

from cleanlab.

Related Issues (20)

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.