www.flow.packs.test-small.drf_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.25], [\"iris_weirdsep_test\",\"iris_weirdsep_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"drf\""
},
{
"type": "cs",
"input": "buildModel 'drf', {\"model_id\":\"drf-458f3d45-5808-49b5-900c-da1d2fae4398\",\"training_frame\":\"iris_weirdsep_train\",\"validation_frame\":\"iris_weirdsep_test\",\"ignore_const_cols\":true,\"response_column\":\"class\",\"ntrees\":\"10\",\"max_depth\":20,\"min_rows\":1,\"nbins\":20,\"nbins_cats\":1024,\"seed\":7626627965432392000,\"mtries\":-1,\"sample_rate\":0.632,\"score_each_iteration\":false,\"balance_classes\":false,\"max_confusion_matrix_size\":20,\"r2_stopping\":0.999999,\"build_tree_one_node\":false,\"binomial_double_trees\":true}"
},
{
"type": "cs",
"input": "getModel \"drf-458f3d45-5808-49b5-900c-da1d2fae4398\""
},
{
"type": "cs",
"input": "predict model: \"drf-458f3d45-5808-49b5-900c-da1d2fae4398\""
},
{
"type": "cs",
"input": "predict model: \"drf-458f3d45-5808-49b5-900c-da1d2fae4398\", frame: \"iris_weirdsep_test\", predictions_frame: \"prediction-56e18db7-a14c-4bea-844e-0cc90b24cd4b\""
}
]
}