Skip to content

Instantly share code, notes, and snippets.

View mmerce's full-sized avatar
💭
Maintaining BigML bindings

Mercè Martín-Prats mmerce

💭
Maintaining BigML bindings
View GitHub Profile
@mmerce
mmerce / multi_label.csv
Last active December 26, 2015 10:28
Multi-label training input data example
color year sex class
red 2000 male Student,Teenager
green 1990 female Student,Adult
red 1995 female Worker,Adult
ID,Name,Age,Gender,Marital Status,Certifications,Recommendations,Courses,Titles,Languages,Skills
1,Fannie Dais,51,Female,Widowed,5,10,3,Student:Manager,French:English,Software Engineering Management:Recruiting:JSON:Perl/Python/Ruby:Oracle:Database Management and Software:Business Development/Relationship Management
2,Isaias Stoodley,47,Male,Divorced,5,10,6,Manager:CEO,English:German:Italian,MongoDB:Recruiting:Software Engineering Management:Business Intelligence:Linux:Oracle
3,Mari Gramling,19,Male,Married,0,0,0,Student,French,MongoDB:JSON:Web programming
4,Barrie Murakami,45,Male,Divorced,1,5,3,Engineer,German:English,Windows:MongoDB:Algorithm Design:MySQL:Linux
@mmerce
mmerce / Recruiting_1.sh
Last active August 29, 2015 13:56
BigMLer basic command for multi-label predictor features
bigmler --multi-label --name Recruiting_Multilabel \
--train multi_label_recruiting.csv \
--multi-label-fields Titles,Languages,Skills \
--objective Titles --label-separator :
@mmerce
mmerce / Recruiting_2.sh
Last active August 29, 2015 13:56
BigMLer advanced command for multi-label predictor features
bigmler --multi-label --name Recruiting_Multilabel \
--train multi_label_recruiting.csv \
--multi-label-fields Titles,Languages,Skills \
--objective Titles --label-separator : \
--label-aggregate count,last
@mmerce
mmerce / Recruiting_4.sh
Last active August 29, 2015 13:56
BigMLer multi-label predictions
bigmler --model-tag multi-label-recruiting \
--test new_profiles.csv --method combined
@mmerce
mmerce / Recruiting_3.sh
Last active December 17, 2015 01:18
BigMLer advanced command for multi-labels with model fields filter
bigmler --multi-label --name Recruiting_Multilabel \
--train multi_label_recruiting.csv \
--multi-label-fields Titles,Languages,Skills \
--objective Titles \
--label-separator : \
--model-fields='-Name,-ID,-Age,-Gender,-Marital Status,-Languages,-Skills,-Titles - last,-Titles - count' \
--label-aggregate count,last \
--tag multi-label-recruiting
@mmerce
mmerce / index.html
Last active August 29, 2015 13:56
Recruiting example: Student model sunburst
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="bigml" xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Language" content="en" />
</head>
<body>
<iframe src="https://bigml.com/embedded/model/eeryQD2GindI7uhR4UyNG4PHbp6" frameborder="0" allowtransparency="true" allowfullscreen="allowfullscreen" width="600" height="400"></iframe>
</body>
</html>
@mmerce
mmerce / index.html
Last active August 29, 2015 13:56
Recruiting example: Engineer model sunburst
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="bigml" xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Language" content="en" />
</head>
<body>
<iframe src="https://bigml.com/embedded/model/6vG71e7EX8eOqmFDhHURx0PJTkF" frameborder="0" allowtransparency="true" allowfullscreen="allowfullscreen" width="600" height="400"></iframe>
</body>
</html>
@mmerce
mmerce / index.html
Last active August 29, 2015 13:56
Recruiting example: Manager model sunburst
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="bigml" xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Language" content="en" />
</head>
<body>
<iframe src="https://bigml.com/embedded/model/xpL73L7M8E02OLazWYMf6PB6ppi" frameborder="0" allowtransparency="true" allowfullscreen="allowfullscreen" width="600" height="400"></iframe>
</body>
</html>
@mmerce
mmerce / index.html
Last active August 29, 2015 13:56
Recruiting example: CEO model sunburst
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="bigml" xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Language" content="en" />
</head>
<body>
<iframe src="https://bigml.com/embedded/model/1k8vnjNALPxul12HsqIfYRWOFBE" frameborder="0" allowtransparency="true" allowfullscreen="allowfullscreen" width="600" height="400"></iframe>
</body>
</html>