www.flow.packs.test-small.gbm_test_Abalone.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/glm_test/Abalone.gz\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/glm_test/Abalone.gz\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/glm_test/Abalone.gz\"]\n destination_frame: \"Abalone.hex\"\n parse_type: \"CSV\"\n separator: 32\n number_columns: 9\n single_quotes: false\n column_types: [\"Enum\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\"]\n delete_on_done: true\n check_header: -1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"Abalone.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"Abalone.hex\""
},
{
"type": "cs",
"input": "splitFrame \"Abalone.hex\", [0.25], [\"Abalone_test\",\"Abalone_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-8776cb41-41d7-467f-997b-fad9ccfed470\",\"training_frame\":\"Abalone_train\",\"validation_frame\":\"Abalone_test\",\"ignore_const_cols\":true,\"response_column\":\"C1\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"25\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":6549159887659161000,\"learn_rate\":\"0.3\",\"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-8776cb41-41d7-467f-997b-fad9ccfed470\""
},
{
"type": "cs",
"input": "predict model: \"gbm-8776cb41-41d7-467f-997b-fad9ccfed470\""
},
{
"type": "cs",
"input": "predict model: \"gbm-8776cb41-41d7-467f-997b-fad9ccfed470\", frame: \"Abalone_train\", predictions_frame: \"prediction-4c941bce-a19c-4760-a908-5bd2e9e8e0a7\""
}
]
}