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_iris_iris22.flow Maven / Gradle / Ivy
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/iris/iris22.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/iris/iris22.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/iris/iris22.csv\"]\n destination_frame: \"iris22.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 6\n single_quotes: false\n column_names: [\"sepal_len\",\"sepal_wid\",\"petal_len\",\"petal_wid\",\"class\",\"class2\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"iris22.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"iris22.hex\""
},
{
"type": "cs",
"input": "splitFrame \"iris22.hex\", [0.2], [\"iris22.hex_0.20\",\"iris22.hex_0.80\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-f2670279-f18e-4809-a16e-57aae11779c8\",\"training_frame\":\"iris22.hex_0.80\",\"validation_frame\":\"iris22.hex_0.20\",\"ignore_const_cols\":true,\"response_column\":\"sepal_len\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"25\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":6449244654715603000,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-f2670279-f18e-4809-a16e-57aae11779c8\""
},
{
"type": "cs",
"input": "predict model: \"gbm-f2670279-f18e-4809-a16e-57aae11779c8\""
},
{
"type": "cs",
"input": "predict model: \"gbm-f2670279-f18e-4809-a16e-57aae11779c8\", frame: \"iris22.hex_0.20\", predictions_frame: \"prediction-3ac7e57d-5a5a-48b2-a563-f3b2fa972e82\""
}
]
}