cross-solution / classification-api Goto Github PK
View Code? Open in Web Editor NEWAPI to classify an input text to a set of labels
License: MIT License
API to classify an input text to a set of labels
License: MIT License
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.