www.flow.packs.test-small.gbm_pca_test_decathlon.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/pca_test/decathlon.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/pca_test/decathlon.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/pca_test/decathlon.csv\"]\n destination_frame: \"decathlon3.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 13\n single_quotes: false\n column_names: [\"100m\",\"Long.jump\",\"Shot.put\",\"High.jump\",\"400m\",\"110m.hurdle\",\"Discus\",\"Pole.vault\",\"Javeline\",\"1500m\",\"Rank\",\"Points\",\"Competition\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"decathlon3.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"decathlon3.hex\""
},
{
"type": "cs",
"input": "splitFrame \"decathlon3.hex\", [0.2], [\"decathlon_test.hex_0.20\",\"decathlon_train.hex_0.80\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-97af5ab6-e3c5-48ec-bc10-4a5e6acf1641\",\"training_frame\":\"decathlon_train.hex_0.80\",\"validation_frame\":\"decathlon_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"Competition\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":6999490835926998000,\"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-97af5ab6-e3c5-48ec-bc10-4a5e6acf1641\""
},
{
"type": "cs",
"input": "predict model: \"gbm-97af5ab6-e3c5-48ec-bc10-4a5e6acf1641\""
},
{
"type": "cs",
"input": "predict model: \"gbm-97af5ab6-e3c5-48ec-bc10-4a5e6acf1641\", frame: \"decathlon_test.hex_0.20\", predictions_frame: \"prediction-07bc740f-e497-4fd6-b747-c56ddec7c75a\""
}
]
}