www.flow.packs.test-small.gbm_junit_auc.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/junit/auc.csv.gz\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/junit/auc.csv.gz\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/junit/auc.csv.gz\"]\n destination_frame: \"auc1.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 2\n single_quotes: false\n column_names: [\"V1\",\"V2\"]\n column_types: [\"Numeric\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 65536"
},
{
"type": "cs",
"input": "getFrameSummary \"auc1.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"auc1.hex\""
},
{
"type": "cs",
"input": "splitFrame \"auc1.hex\", [0.2], [\"auc_test.hex_0.20\",\"auc_train.hex_0.80\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-e9fde78c-42b9-451b-a01c-1449bdace352\",\"training_frame\":\"auc_train.hex_0.80\",\"validation_frame\":\"auc_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"V2\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":-4539134833072346600,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-e9fde78c-42b9-451b-a01c-1449bdace352\""
},
{
"type": "cs",
"input": "predict model: \"gbm-e9fde78c-42b9-451b-a01c-1449bdace352\""
},
{
"type": "cs",
"input": "predict model: \"gbm-e9fde78c-42b9-451b-a01c-1449bdace352\", frame: \"auc_test.hex_0.20\", predictions_frame: \"prediction-0c66ee8e-10f2-4688-9d0a-4dc6c4aad308\""
}
]
}