www.flow.packs.test-small.gbm_junit_weights_all_ones.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/junit/weights_all_ones.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/junit/weights_all_ones.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/junit/weights_all_ones.csv\"]\n destination_frame: \"weights_all_ones.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 6\n single_quotes: false\n column_names: [\"f1\",\"f2\",\"f3\",\"f4\",\"weight\",\"response\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"weights_all_ones.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"weights_all_ones.hex\""
},
{
"type": "cs",
"input": "splitFrame \"weights_all_ones.hex\", [0.25], [\"weights_all_ones_test\",\"weights_all_ones_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-194bb9a9-4627-42fd-949c-639457541fa0\",\"training_frame\":\"weights_all_ones_train\",\"validation_frame\":\"weights_all_ones_test\",\"ignore_const_cols\":true,\"response_column\":\"f1\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"5\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":-3257779041500151300,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-194bb9a9-4627-42fd-949c-639457541fa0\""
},
{
"type": "cs",
"input": "predict model: \"gbm-194bb9a9-4627-42fd-949c-639457541fa0\""
},
{
"type": "cs",
"input": "predict model: \"gbm-194bb9a9-4627-42fd-949c-639457541fa0\", frame: \"weights_all_ones_test\", predictions_frame: \"prediction-5d6d69c3-be1a-4c2a-9875-01c0c228fe8e\""
}
]
}