www.flow.packs.test-small.gbm_test_ecology_eval.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/gbm_test/ecology_eval.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/gbm_test/ecology_eval.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/gbm_test/ecology_eval.csv\"]\n destination_frame: \"ecology_eval.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 13\n single_quotes: false\n column_names: [\"Angaus\",\"SegSumT\",\"SegTSeas\",\"SegLowFlow\",\"DSDist\",\"DSMaxSlope\",\"USAvgT\",\"USRainDays\",\"USSlope\",\"USNative\",\"DSDam\",\"Method\",\"LocSed\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "importFiles"
},
{
"type": "cs",
"input": "importFiles [ \"../smalldata/gbm_test/ecology_model.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/gbm_test/ecology_model.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/gbm_test/ecology_model.csv\"]\n destination_frame: \"ecology_model.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 14\n single_quotes: false\n column_names: [\"Site\",\"Angaus\",\"SegSumT\",\"SegTSeas\",\"SegLowFlow\",\"DSDist\",\"DSMaxSlope\",\"USAvgT\",\"USRainDays\",\"USSlope\",\"USNative\",\"DSDam\",\"Method\",\"LocSed\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"ecology_model.hex\""
},
{
"type": "cs",
"input": "assist buildModel, null, training_frame: \"ecology_model.hex\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-057d511b-6142-4af7-988e-43e529c0381f\",\"training_frame\":\"ecology_model.hex\",\"validation_frame\":\"ecology_eval.hex\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"Angaus\",\"ntrees\":\"100\",\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":-4442552318483983000,\"learn_rate\":0.1,\"distribution\":\"gaussian\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-057d511b-6142-4af7-988e-43e529c0381f\""
},
{
"type": "cs",
"input": "predict model: \"gbm-057d511b-6142-4af7-988e-43e529c0381f\""
},
{
"type": "cs",
"input": "predict model: \"gbm-057d511b-6142-4af7-988e-43e529c0381f\", frame: \"ecology_eval.hex\", predictions_frame: \"prediction-045beafe-6b83-4559-83ce-3ff2b6a746c8\""
}
]
}