Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
www.flow.packs.test-small.gbm_test_titanic_sub.flow Maven / Gradle / Ivy
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/gbm_test/titanic_sub.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/gbm_test/titanic_sub.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/gbm_test/titanic_sub.csv\"]\n destination_frame: \"titanic_sub2.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 10\n single_quotes: false\n column_names: [\"pclass\",\"survived\",\"sex\",\"age\",\"sibsp\",\"parch\",\"fare\",\"embarked\",\"boat\",\"home.dest\"]\n column_types: [\"Numeric\",\"Numeric\",\"Enum\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Numeric\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"titanic_sub2.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"titanic_sub2.hex\""
},
{
"type": "cs",
"input": "splitFrame \"titanic_sub2.hex\", [0.2], [\"titanic_sub2_test.hex_0.20\",\"titanic_sub2_train.hex_0.80\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-6fdec2a7-9cc4-4288-90ec-882fdc9278f9\",\"training_frame\":\"titanic_sub2_train.hex_0.80\",\"validation_frame\":\"titanic_sub2_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"home.dest\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":-7616393279183154000,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"balance_classes\":false,\"max_confusion_matrix_size\":20,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-6fdec2a7-9cc4-4288-90ec-882fdc9278f9\""
},
{
"type": "cs",
"input": "predict model: \"gbm-6fdec2a7-9cc4-4288-90ec-882fdc9278f9\""
},
{
"type": "cs",
"input": "predict model: \"gbm-6fdec2a7-9cc4-4288-90ec-882fdc9278f9\", frame: \"titanic_sub2_test.hex_0.20\", predictions_frame: \"prediction-7e3d088e-bf23-4733-a3dc-283cc548dea1\""
}
]
}