Giter VIP home page Giter VIP logo

labelx's Introduction

labelx

GitHub GitHub last commit (branch) GitHub Workflow Status (branch)
A Flask application to manually label an existing dataset.

Example scenario

You want to create a training dataset for your next model. You have your assets/cars.csv with already several fields:

Car;MPG;Cylinders;Displacement;Horsepower;Weight;Acceleration;Model;Origin

On top of these, you want to add a custom field with a special value that actually, just a human can set. For example: Good_Looking, with two possible values Yes and Ǹo.
The objective is to go through a maximum of dataset rows and set this value. Iterating manually over the CSV file is not the more efficient way to do it.
With this project, you define the label settings and the labelling interface appearance and quickier your manual labelling.

Demo

Configuration

Update the config.json file to configure project.

{
    "data": {
        "input": "assets/cars.csv",
        "output": "assets/labelled_cars.csv",
        "delimiter": ";"
    },
    "interface": {
        "fields": ["Car", "Model", "Origin"],
        "theme": "light"
    },
    "label": {
        "name": "Good_Looking",
        "values": ["Yes", "No"]
    }
}

Setup instructions

  1. Installing virtual environment:
python3 -m pip install --user virtualenv
python3 -m venv env
source env/bin/activate
  1. Installing dependencies:
make
  1. Starting project:
make run

Labelling interface now available at http://127.0.0.1:5000.

Roadmap

  • Fix setuptools configuration;
    • Replace with Poetry?
  • Improve CI (linting, etc.);
  • Setup release flow;
  • Implement skip button;
  • Local Bootstrap.

labelx's People

Contributors

juliengriffoul avatar

Stargazers

Patrick-Ivann Origo avatar

Watchers

 avatar

labelx's Issues

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.