Code Monkey home page Code Monkey logo

classification-api's People

Contributors

tisie avatar

Watchers

 avatar  avatar

classification-api's Issues

Create first working implementation

I've created a gist to demonstrate a sample of how the classification could work.

This API needs at least one entry points to classify input strings, and another to train / seed data (via uploading CSV-files.)

There are different attributes for a job ad to be classified, such as employment type or language

The API entry points should be

  • /classify/[attribute]
    POST-method : Will consume a json payload and return a json result.

    {
      "title": "the job title (required)",
      "tasks": "job tasks text",
      "qualifications": "job qualifications text",
      "benefits": "job benefits text"
    }
    
    {
      "label": "classified label"
    }
    
  • /train/[attribute]
    POST-method: Will consume a CSV data in the post request body, store it, use it to train the
    classifier. returns a json result.

    {
      status: "success|failed",
      message: "error message (optional)"
    }
    

This is a first draft and is open to suggestions.

The entry points urls could also be

  • [attribute]/
  • [attribute]/train

There's no need to use JSON, if there are other methods better fitted for this use that I'm not aware of.

Leave your thoughts in the comments.

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.