www.flow.packs.test-medium.gbm_airlines.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/airlines/AirlinesTest.csv.zip\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/airlines/AirlinesTest.csv.zip\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/airlines/AirlinesTest.csv.zip\"]\n destination_frame: \"AirlinesTest.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 12\n single_quotes: false\n column_names: [\"fYear\",\"fMonth\",\"fDayofMonth\",\"fDayOfWeek\",\"DepTime\",\"ArrTime\",\"UniqueCarrier\",\"Origin\",\"Dest\",\"Distance\",\"IsDepDelayed\",\"IsDepDelayed_REC\"]\n column_types: [\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Numeric\",\"Numeric\",\"Enum\",\"Enum\",\"Enum\",\"Numeric\",\"Enum\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "importFiles [ \"../smalldata/airlines/AirlinesTrain.csv.zip\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/airlines/AirlinesTrain.csv.zip\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/airlines/AirlinesTrain.csv.zip\"]\n destination_frame: \"AirlinesTrain.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 12\n single_quotes: false\n column_names: [\"fYear\",\"fMonth\",\"fDayofMonth\",\"fDayOfWeek\",\"DepTime\",\"ArrTime\",\"UniqueCarrier\",\"Origin\",\"Dest\",\"Distance\",\"IsDepDelayed\",\"IsDepDelayed_REC\"]\n column_types: [\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Numeric\",\"Numeric\",\"Enum\",\"Enum\",\"Enum\",\"Numeric\",\"Enum\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 131072"
},
{
"type": "cs",
"input": "getFrameSummary \"AirlinesTrain.hex\""
},
{
"type": "cs",
"input": "assist buildModel, null, training_frame: \"AirlinesTrain.hex\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-e614bb75-bb75-46e4-8428-3eabe366e101\",\"training_frame\":\"AirlinesTrain.hex\",\"validation_frame\":\"AirlinesTest.hex\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"IsDepDelayed_REC\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"25\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":-8459747248873471000,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
},
{
"type": "cs",
"input": "getModel \"gbm-e614bb75-bb75-46e4-8428-3eabe366e101\""
},
{
"type": "cs",
"input": "predict model: \"gbm-e614bb75-bb75-46e4-8428-3eabe366e101\""
},
{
"type": "cs",
"input": "predict model: \"gbm-e614bb75-bb75-46e4-8428-3eabe366e101\", frame: \"AirlinesTest.hex\", predictions_frame: \"prediction-11f0ab98-810c-493a-8b01-3625bad6cce1\""
}
]
}