Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
www.flow.packs.test-small.gbm_testng_airquality_validation2.flow Maven / Gradle / Ivy
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles"
},
{
"type": "cs",
"input": "importFiles [ \"../smalldata/testng/airquality_validation2.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/testng/airquality_validation2.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/testng/airquality_validation2.csv\"]\n destination_frame: \"airquality_validation2.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 6\n single_quotes: false\n column_names: [\"sparseOzone\",\"Solar.R\",\"Wind\",\"Temp\",\"Month\",\"Day\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"airquality_validation2.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"airquality_validation2.hex\""
},
{
"type": "cs",
"input": "splitFrame \"airquality_validation2.hex\", [0.25], [\"airquality_validation2_test\",\"airquality_validation2_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-1e7aa268-99a4-46f8-91b7-5540f115aa5e\",\"training_frame\":\"airquality_validation2_train\",\"validation_frame\":\"airquality_validation2_test\",\"ignore_const_cols\":true,\"response_column\":\"sparseOzone\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"10\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":2824720533118281000,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-1e7aa268-99a4-46f8-91b7-5540f115aa5e\""
},
{
"type": "cs",
"input": "predict model: \"gbm-1e7aa268-99a4-46f8-91b7-5540f115aa5e\""
},
{
"type": "cs",
"input": "predict model: \"gbm-1e7aa268-99a4-46f8-91b7-5540f115aa5e\", frame: \"airquality_validation2_test\", predictions_frame: \"prediction-59951a80-e3d4-4a65-bd24-e17bfc021f77\""
}
]
}