Skip to content

Instantly share code, notes, and snippets.

curl "https://bigml.io/dataset?$BIGML_AUTH" -X POST \
-H "content-type: application/json" \
-d '{"origin_dataset": "dataset/5292c7393c1920513c000004", "sample_rate": 0.75, "seed": "titanic", "new_fields": {"field": "production", "name": "origin"}, "name": "Production Data"}'
curl "https://bigml.io/dataset?$BIGML_AUTH" -X POST \
-H "content-type: application/json" \
-d '{"origin_dataset": "dataset/5292c7393c1920513c000004", "sample_rate": 0.75, "seed": "titanic", "new_fields": {"field": "training", "name": "origin"}, "name": "Traning Data"}'
Pclass Name Sex Age SibSp Parch Ticket Fare Cabin Embarked
3 Kelly, Mr. James male 34.5 0 0 330911 7.8292 Q
3 Wilkes, Mrs. James (Ellen Needs) female 47 1 0 363272 7 S
2 Myles, Mr. Thomas Francis male 62 0 0 240276 9.6875 Q
3 Wirz, Mr. Albert male 27 0 0 315154 8.6625 S
3 Hirvonen, Mrs. Alexander (Helga E Lindqvist) female 22 1 1 3101298 12.2875 S
3 Svensson, Mr. Johan Cervin male 14 0 0 7538 9.225 S
3 Connolly, Miss. Kate female 30 0 0 330972 7.6292 Q
2 Caldwell, Mr. Albert Francis male 26 1 1 248738 29 S
3 Abrahim, Mrs. Joseph (Sophie Halaut Easu) female 18 0 0 2657 7.2292 C
Pclass Name Sex Age SibSp Parch Ticket Fare Cabin Embarked
3 Braund, Mr. Owen Harris male 22 1 0 A/5 21171 7.25 S
1 Cumings, Mrs. John Bradley (Florence Briggs Thayer) female 38 1 0 PC 17599 71.2833 C85 C
3 Heikkinen, Miss. Laina female 26 0 0 STON/O2. 3101282 7.925 S
1 Futrelle, Mrs. Jacques Heath (Lily May Peel) female 35 1 0 113803 53.1 C123 S
3 Allen, Mr. William Henry male 35 0 0 373450 8.05 S
3 Moran, Mr. James male 0 0 330877 8.4583 Q
1 McCarthy, Mr. Timothy J male 54 0 0 17463 51.8625 E46 S
3 Palsson, Master. Gosta Leonard male 2 3 1 349909 21.075 S
3 Johnson, Mrs. Oscar W (Elisabeth Vilhelmina Berg) female 27 0 2 347742 11.1333 S
@aficionado
aficionado / README.md
Created November 19, 2013 02:39 — forked from mbostock/.block

The first 15 seconds of the D3 show reel. See full video at http://vimeo.com/29862153. Includes seamless transitions between the following visualization types:

  • lines
  • horizons
  • areas
  • stacked areas
  • streamgraph
  • overlapping areas
  • grouped bars
  • stacked bars
@aficionado
aficionado / README.md
Created November 19, 2013 00:56 — forked from mbostock/.block

Click to add new points. Hit the DELETE key to remove the selected point. Use the dropdown menu to change the interpolation mode.

@aficionado
aficionado / index.html
Last active February 6, 2016 17:34
Iso-cost lines
<!DOCTYPE html>
<meta charset="utf-8">
<style>
html, body{
height: 100%;
}
*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
@aficionado
aficionado / index.html
Last active December 24, 2015 06:09
Visualizing Model Performance
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: auto;
position: relative;
width: 960px;
background: #fff;
@aficionado
aficionado / index.html
Created April 2, 2013 22:32
private public model
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: auto;
position: relative;
width: 960px;
background: #fff;
@aficionado
aficionado / index.html
Last active December 15, 2015 15:39
Cover - Scattergraph (support vs confidence)
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: auto;
position: relative;
width: 960px;
background: #fff;