www.flow.packs.test-small.glm_junit_bestbuy_train_10k.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/junit/bestbuy_train_10k.csv.gz\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/junit/bestbuy_train_10k.csv.gz\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/junit/bestbuy_train_10k.csv.gz\"]\n destination_frame: \"bestbuy_train_10k3.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 6\n single_quotes: false\n column_names: [\"user\",\"sku\",\"category\",\"query\",\"click_time\",\"query_time\"]\n column_types: [\"Enum\",\"Numeric\",\"Enum\",\"Enum\",\"Time\",\"Time\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 65536"
},
{
"type": "cs",
"input": "getFrameSummary \"bestbuy_train_10k3.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"bestbuy_train_10k3.hex\""
},
{
"type": "cs",
"input": "splitFrame \"bestbuy_train_10k3.hex\", [0.3], [\"bestbuy_train_10k_test.hex_0.30\",\"bestbuy_train_10k_train.hex_0.70\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"glm\""
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-9df8d549-a95c-4c7e-bc28-53bda98f8b3d\",\"training_frame\":\"bestbuy_train_10k_train.hex_0.70\",\"validation_frame\":\"bestbuy_train_10k_test.hex_0.30\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"user\",\"family\":\"gaussian\",\"solver\":\"IRLSM\",\"alpha\":[],\"lambda\":[],\"lambda_search\":false,\"standardize\":true,\"non_negative\":false,\"score_each_iteration\":false,\"max_iterations\":-1,\"link\":\"family_default\",\"max_confusion_matrix_size\":20,\"intercept\":true,\"objective_epsilon\":0.00001,\"beta_epsilon\":0.0001,\"gradient_epsilon\":0.0001,\"prior\":-1,\"max_active_predictors\":-1}"
},
{
"type": "cs",
"input": "getModel \"glm-9df8d549-a95c-4c7e-bc28-53bda98f8b3d\""
},
{
"type": "cs",
"input": "predict model: \"glm-9df8d549-a95c-4c7e-bc28-53bda98f8b3d\""
},
{
"type": "cs",
"input": "predict model: \"glm-9df8d549-a95c-4c7e-bc28-53bda98f8b3d\", frame: \"bestbuy_train_10k_test.hex_0.30\", predictions_frame: \"prediction-622a6257-43f5-4650-9d3d-fe5054cd132b\""
}
]
}