www.flow.packs.test-small.gbm_junit_arff_iris_weirdsep.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/junit/arff/iris_weirdsep.arff\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/junit/arff/iris_weirdsep.arff\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/junit/arff/iris_weirdsep.arff\"]\n destination_frame: \"iris_weirdsep.hex\"\n parse_type: \"ARFF\"\n separator: 32\n number_columns: 5\n single_quotes: false\n column_names: [\"sepal_len\",\"sepal_wid\",\"petal_len\",\"petal_wid\",\"class\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n delete_on_done: true\n check_header: -1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"iris_weirdsep.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"iris_weirdsep.hex\""
},
{
"type": "cs",
"input": "splitFrame \"iris_weirdsep.hex\", [0.2], [\"iris_weirdsep_test\",\"iris_weirdsep_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-a5333120-ddf7-4c04-a6c4-1a690d640393\",\"training_frame\":\"iris_weirdsep_train\",\"validation_frame\":\"iris_weirdsep_test\",\"ignore_const_cols\":true,\"response_column\":\"sepal_len\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"25\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":3764637287693540000,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-a5333120-ddf7-4c04-a6c4-1a690d640393\""
},
{
"type": "cs",
"input": "predict model: \"gbm-a5333120-ddf7-4c04-a6c4-1a690d640393\""
},
{
"type": "cs",
"input": "predict model: \"gbm-a5333120-ddf7-4c04-a6c4-1a690d640393\", frame: \"iris_weirdsep_test\", predictions_frame: \"prediction-09ddb0d6-b096-4258-920a-6ef6232a4f2a\""
}
]
}