Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
www.flow.packs.test-large.airlines_billion_rows.flow Maven / Gradle / Ivy
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": ""
},
{
"type": "cs",
"input": "importFiles"
},
{
"type": "cs",
"input": "importFiles [ \"hdfs://mr-0xd6.0xdata.loc/datasets/airlinesbillion.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"hdfs://mr-0xd6.0xdata.loc/datasets/airlinesbillion.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"hdfs://mr-0xd6.0xdata.loc/datasets/airlinesbillion.csv\"]\n destination_frame: \"airlinesbillion.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 31\n single_quotes: false\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Enum\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Enum\"]\n delete_on_done: true\n check_header: -1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrame \"airlinesbillion.hex\""
},
{
"type": "cs",
"input": "assist buildModel, null, training_frame: \"airlinesbillion.hex\""
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-3226f334-a9c8-44e8-b784-d5ace5cc4797\",\"training_frame\":\"airlinesbillion.hex\",\"response_column\":\"C31\",\"solver\":\"IRLSM\",\"max_iterations\":-1,\"beta_epsilon\":0.0001,\"standardize\":true,\"family\":\"gaussian\",\"balance_classes\":false,\"link\":\"family_default\",\"tweedie_variance_power\":\"NaN\",\"tweedie_link_power\":\"NaN\",\"alpha\":[0.5],\"lambda\":[],\"lambda_search\":false,\"class_sampling_factors\":[],\"max_after_balance_size\":5,\"prior\":-1,\"nlambdas\":-1,\"lambda_min_ratio\":-1}"
},
{
"type": "cs",
"input": "getModel \"glm-3226f334-a9c8-44e8-b784-d5ace5cc4797\""
},
{
"type": "cs",
"input": "predict model: \"glm-3226f334-a9c8-44e8-b784-d5ace5cc4797\""
},
{
"type": "cs",
"input": "predict model: \"glm-3226f334-a9c8-44e8-b784-d5ace5cc4797\", frame: \"airlinesbillion.hex\", predictions_frame: \"prediction-d1956806-9907-4eb4-83fc-107e37ba52df\""
},
{
"type": "cs",
"input": "inspect getPrediction model: \"glm-3226f334-a9c8-44e8-b784-d5ace5cc4797\", frame: \"airlinesbillion.hex\""
},
{
"type": "cs",
"input": "grid inspect \"prediction\", getPrediction model: \"glm-3226f334-a9c8-44e8-b784-d5ace5cc4797\", frame: \"airlinesbillion.hex\""
},
{
"type": "cs",
"input": "buildModel 'gbm', {\"model_id\":\"gbm-33ec4848-6152-4b34-b054-c091255a9c13\",\"training_frame\":\"airlinesbillion.hex\",\"response_column\":\"C31\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"balance_classes\":false,\"class_sampling_factors\":[],\"max_after_balance_size\":5,\"seed\":0}"
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-5e8f6890-4721-4edc-a7de-573e1c2d2746\",\"training_frame\":\"airlinesbillion.hex\",\"response_column\":\"C31\",\"solver\":\"L_BFGS\",\"max_iterations\":-1,\"beta_epsilon\":0.0001,\"standardize\":true,\"family\":\"gaussian\",\"balance_classes\":false,\"link\":\"family_default\",\"tweedie_variance_power\":\"NaN\",\"tweedie_link_power\":\"NaN\",\"alpha\":[0.5],\"lambda\":[],\"lambda_search\":false,\"use_all_factor_levels\":false,\"class_sampling_factors\":[],\"max_after_balance_size\":5,\"prior\":-1,\"nlambdas\":-1,\"lambda_min_ratio\":-1}"
},
{
"type": "cs",
"input": "getModel \"gbm-33ec4848-6152-4b34-b054-c091255a9c13\""
}
]
}