Giter VIP home page Giter VIP logo

aiproj_humordetector's Introduction

AIproj_humordetector

Install argilla -> https://docs.argilla.io/en/latest/getting_started/installation/installation.html Imports pandas, sklearn, matplot, modAL, argilla, csv

code.py is the script to manually building and label a dataset from scratch, using active learning query techniques. Run python -m argilla in one shell. After that you should open a python shell. Run the code until line 51 (the start of the loop).

Then, (1) run line 51 to 76 . The learner will query the samples using max uncertainty. Then you should go to argilla dataset localhost:6900/datasets. If it asks for a password, the user is argilla and password is 1234 Then you should enter the dataset and see the samples. Click on hand labeling (see the section option on Mode on the right side of the computer) and choose the label for each sample. To just see the unlabeled samples click on status and filter default.

Then (2)continue the loop from running line 80 to 97 to teach the classifier with the annotated samples. Repeat (1) and (2) for the number of iterations you wish. Finally (3) run line 101 to 109 to plot the accuracy evolution through iteration.

code_plot.py is the code to plot the differences in the accuracy evolution by using different query strategys. It is just need to run it on the shell.

aiproj_humordetector's People

Contributors

khadija-djarraya avatar david00239 avatar

Stargazers

 avatar

Watchers

 avatar

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.