How to setup an nlp analysis
in 15 min?
Use case: a Trello board
Antoine Toubhans, Paris NLP Meetup #6, July 26, 2017
Front-end
Back-end
Trello API
My server
browser
within Trello world
outiside Trello
Chrome plugin
POST /train
GET /cards
POST /predict
Raw data
Clean data
Model
Score
Fetch
Preprocess
Train
Optimize
Clean
Predict
https://github.com/AntoineToubhans/trellearn
Front
Back
Trello API
cards.json
card.json
sorted_labels.json
My server (learning)
Preprocessing
Learning
Validating
[{
"id": "57c8222ca15bee7064d24487",
"closed": false,
"dateLastActivity": "2016-09-29T08:54:47.064Z",
"desc": "Trouver une image de singe amusant et (...)",
"idBoard": "526a7df0e4fb2b90030021ac",
"idList": "57ab3d43083b138ec2af5ef0",
"idAttachmentCover": null,
"name": "ETQU, je vois un singe amusant sur (...)",
(...)
"due": null,
"idChecklists": [],
"idMembers": [],
"labels": [
{
"id": "566adb33fb396fe706d2d5a9",
"idBoard": "526a7df0e4fb2b90030021ac",
"name": "Bug",
"color": "pink",
"uses": 127
},
{
"id": "56557ef4fb396fe706bac607",
"idBoard": "526a7df0e4fb2b90030021ac",
"name": "Régression",
"color": "black",
"uses": 26
},
{
"id": "57ad88a784e677fd36e6c417",
"idBoard": "526a7df0e4fb2b90030021ac",
"name": "Prochain sprint",
"color": "green",
"uses": 7,
}
],
"subscribed": false,
}, {
(...)
}]
Preprocessing
Learning
Logistic regression
Multi-class Learning
vs {
,
}
vs {
,
}
vs {
,
}
Multi-label Learning
Naive Bayes
Hypothesis:
Validation
Over-fitting !
Cross-validation
dataset
Learning
Validating
Score function
Demo Time !