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_prostate_prostate-csv-zip.flow Maven / Gradle / Ivy
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles"
},
{
"type": "cs",
"input": "importFiles [ \"../smalldata/prostate/prostate.csv.zip\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/prostate/prostate.csv.zip\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/prostate/prostate.csv.zip\"]\n destination_frame: \"prostate.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 9\n single_quotes: false\n column_names: [\"ID\",\"CAPSULE\",\"AGE\",\"RACE\",\"DPROS\",\"DCAPS\",\"PSA\",\"VOL\",\"GLEASON\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 262144"
},
{
"type": "cs",
"input": "getFrameSummary \"prostate.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"prostate.hex\""
},
{
"type": "cs",
"input": "splitFrame \"prostate.hex\", [0.25], [\"prostate_test\",\"prostate_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-adea1478-cc9a-4306-9671-95617d139fe7\",\"training_frame\":\"prostate_train\",\"validation_frame\":\"prostate_test\",\"ignore_const_cols\":true,\"response_column\":\"ID\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"25\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":2384526217716345300,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-adea1478-cc9a-4306-9671-95617d139fe7\""
},
{
"type": "cs",
"input": "predict model: \"gbm-adea1478-cc9a-4306-9671-95617d139fe7\""
},
{
"type": "cs",
"input": "predict model: \"gbm-adea1478-cc9a-4306-9671-95617d139fe7\", frame: \"prostate_test\", predictions_frame: \"prediction-c5bf52c1-e2ad-4212-81dd-a9ccc3fc69db\""
}
]
}