www.flow.packs.test-small.gbm_junit_ven-11.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/junit/ven-11.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/junit/ven-11.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/junit/ven-11.csv\"]\n destination_frame: \"ven_11.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 5\n single_quotes: false\n column_names: [\"ds1\",\"ds2\",\"ds3\",\"ds4\",\"ds5\"]\n column_types: [\"Numeric\",\"Time\",\"Time\",\"Time\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"ven_11.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"ven_11.hex\""
},
{
"type": "cs",
"input": "splitFrame \"ven_11.hex\", [0.2], [\"ven_11_test\",\"ven_11_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-7fb7e41b-dd72-4437-b9c3-96d3574c297c\",\"training_frame\":\"ven_11_train\",\"validation_frame\":\"ven_11_test\",\"ignore_const_cols\":true,\"response_column\":\"ds1\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"1\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":8447965569558883000,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-7fb7e41b-dd72-4437-b9c3-96d3574c297c\""
},
{
"type": "cs",
"input": "predict model: \"gbm-7fb7e41b-dd72-4437-b9c3-96d3574c297c\""
},
{
"type": "cs",
"input": "predict model: \"gbm-7fb7e41b-dd72-4437-b9c3-96d3574c297c\", frame: \"ven_11_test\", predictions_frame: \"prediction-b6d61a30-e4b0-473e-b4d7-5baa0e55dfa6\""
}
]
}