www.flow.packs.test-small.gbm_pca_test_AustraliaCoast.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/pca_test/AustraliaCoast.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/pca_test/AustraliaCoast.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/pca_test/AustraliaCoast.csv\"]\n destination_frame: \"AustraliaCoast1.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 8\n single_quotes: false\n column_names: [\"premax\",\"salmax\",\"minairtemp\",\"maxairtemp\",\"maxsst\",\"maxsoilmoist\",\"Max_czcs\",\"runoffnew\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"AustraliaCoast1.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"AustraliaCoast1.hex\""
},
{
"type": "cs",
"input": "splitFrame \"AustraliaCoast1.hex\", [0.2], [\"AustraliaCoast_test.hex_0.20\",\"AustraliaCoast_train.hex_0.80\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-2ffef401-717c-417a-9dfa-391ab847e0b5\",\"training_frame\":\"AustraliaCoast_train.hex_0.80\",\"validation_frame\":\"AustraliaCoast_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"runoffnew\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":2230912813427804400,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-2ffef401-717c-417a-9dfa-391ab847e0b5\""
},
{
"type": "cs",
"input": "predict model: \"gbm-2ffef401-717c-417a-9dfa-391ab847e0b5\""
},
{
"type": "cs",
"input": "predict model: \"gbm-2ffef401-717c-417a-9dfa-391ab847e0b5\", frame: \"AustraliaCoast_test.hex_0.20\", predictions_frame: \"prediction-116e4c3d-65f4-484c-b996-d2394c45753e\""
}
]
}