www.flow.packs.test-small.gbm_junit_arff_iris_spacesep.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/junit/arff/iris_spacesep.arff\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/junit/arff/iris_spacesep.arff\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/junit/arff/iris_spacesep.arff\"]\n destination_frame: \"iris_spacesep.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_spacesep.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"iris_spacesep.hex\""
},
{
"type": "cs",
"input": "splitFrame \"iris_spacesep.hex\", [0.2], [\"iris_spacesep_test\",\"iris_spacesep_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"gbm\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-f7702d40-83a1-42db-b040-cf653af27417\",\"training_frame\":\"iris_spacesep_train\",\"validation_frame\":\"iris_spacesep_test\",\"ignore_const_cols\":true,\"response_column\":\"sepal_len\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"25\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":-1920888576972249900,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-f7702d40-83a1-42db-b040-cf653af27417\""
},
{
"type": "cs",
"input": "predict model: \"gbm-f7702d40-83a1-42db-b040-cf653af27417\""
},
{
"type": "cs",
"input": "predict model: \"gbm-f7702d40-83a1-42db-b040-cf653af27417\", frame: \"iris_spacesep_test\", predictions_frame: \"prediction-9f6d2585-fec3-4258-b16d-a6ca6e45c537\""
}
]
}