www.flow.packs.test-small.drf_junit_weights_all_tiny.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/junit/weights_all_tiny.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/junit/weights_all_tiny.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/junit/weights_all_tiny.csv\"]\n destination_frame: \"weights_all_tiny.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 6\n single_quotes: false\n column_names: [\"f1\",\"f2\",\"f3\",\"f4\",\"weight\",\"response\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"weights_all_tiny.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"weights_all_tiny.hex\""
},
{
"type": "cs",
"input": "splitFrame \"weights_all_tiny.hex\", [0.25], [\"weights_all_tiny_test\",\"weights_all_tiny_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"drf\""
},
{
"type": "cs",
"input": "buildModel 'drf', {\"model_id\":\"drf-81dfd613-a19c-461d-8985-34ad911ec40b\",\"training_frame\":\"weights_all_tiny_train\",\"validation_frame\":\"weights_all_tiny_test\",\"ignore_const_cols\":true,\"response_column\":\"response\",\"ntrees\":50,\"max_depth\":20,\"min_rows\":1,\"nbins\":20,\"nbins_cats\":1024,\"seed\":11389699064746280,\"mtries\":-1,\"sample_rate\":0.632,\"score_each_iteration\":false,\"balance_classes\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false,\"binomial_double_trees\":true}"
},
{
"type": "cs",
"input": "getModel \"drf-81dfd613-a19c-461d-8985-34ad911ec40b\""
},
{
"type": "cs",
"input": "predict model: \"drf-81dfd613-a19c-461d-8985-34ad911ec40b\""
},
{
"type": "cs",
"input": "predict model: \"drf-81dfd613-a19c-461d-8985-34ad911ec40b\", frame: \"weights_all_tiny_test\", predictions_frame: \"prediction-3912e869-272d-48d3-bc58-d0153bb04c2c\""
}
]
}