www.flow.packs.test-small.gbm_chess.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/chess/chess_2x2x1000/test.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/chess/chess_2x2x1000/test.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/chess/chess_2x2x1000/test.csv\"]\n destination_frame: \"test2.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 3\n single_quotes: false\n column_names: [\"x\",\"y\",\"color\"]\n column_types: [\"Numeric\",\"Numeric\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"test2.hex\""
},
{
"type": "cs",
"input": "importFiles [ \"../smalldata/chess/chess_2x2x1000/train.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/chess/chess_2x2x1000/train.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/chess/chess_2x2x1000/train.csv\"]\n destination_frame: \"train2.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 3\n single_quotes: false\n column_names: [\"x\",\"y\",\"color\"]\n column_types: [\"Numeric\",\"Numeric\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"train2.hex\""
},
{
"type": "cs",
"input": "assist buildModel, null, training_frame: \"train2.hex\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-fe189251-7102-4477-bc0c-3ea4c5d2b6e4\",\"training_frame\":\"train2.hex\",\"validation_frame\":\"test2.hex\",\"ignore_const_cols\":true,\"response_column\":\"color\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":5747255121193226000,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"balance_classes\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-fe189251-7102-4477-bc0c-3ea4c5d2b6e4\""
}
]
}