www.flow.packs.test-small.gbm_pca_test_poison.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/pca_test/poison.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/pca_test/poison.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/pca_test/poison.csv\"]\n destination_frame: \"poison1.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 15\n single_quotes: false\n column_names: [\"Age\",\"Time\",\"Sick\",\"Sex\",\"Nausea\",\"Vomiting\",\"Abdominals\",\"Fever\",\"Diarrhae\",\"Potato\",\"Fish\",\"Mayo\",\"Courgette\",\"Cheese\",\"Icecream\"]\n column_types: [\"Numeric\",\"Numeric\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"poison1.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"poison1.hex\""
},
{
"type": "cs",
"input": "splitFrame \"poison1.hex\", [0.2], [\"poison_test.hex_0.20\",\"poison_train.hex_0.80\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-46bad4b1-bac5-4ee7-a968-9c1cc04b82b8\",\"training_frame\":\"poison_train.hex_0.80\",\"validation_frame\":\"poison_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"Icecream\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":-5239344377598841000,\"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-46bad4b1-bac5-4ee7-a968-9c1cc04b82b8\""
},
{
"type": "cs",
"input": "predict model: \"gbm-46bad4b1-bac5-4ee7-a968-9c1cc04b82b8\""
},
{
"type": "cs",
"input": "predict model: \"gbm-46bad4b1-bac5-4ee7-a968-9c1cc04b82b8\", frame: \"poison_test.hex_0.20\", predictions_frame: \"prediction-59071e03-b4e2-4961-9e14-74d44c3ade41\""
}
]
}