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
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 / 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>
@mmerce
mmerce / list_sources.py
Created March 6, 2014 11:20
While loop to list the BigML sources created from a date on using the python bindings
from bigml.api import BigML, FINISHED
api = BigML()
DATE = '2013-10-05T00:25:36.973000'
PAGE_LENGTH = 20 # number of resources to be retrieved in one list call
# q_w: query_string with the query parameters. In this case, creation data and
# maximum number of resources to be returned.
QUERY_STRING = "created__gte=%s" % DATE
# api_function: function that should be used to retrieve the resources. In this
# case we use the list_sources call to retrieve sources. We could use any
@mmerce
mmerce / min_features.sh
Last active August 29, 2015 14:00
bigmler analyze --features
bigmler analyze --features \
--dataset dataset/535f5ecc37203f272e0001b4