www.flow.packs.test-small.glm_testng_airquality_train1.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles"
},
{
"type": "cs",
"input": "importFiles [ \"../smalldata/testng/airquality_train1.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/testng/airquality_train1.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/testng/airquality_train1.csv\"]\n destination_frame: \"airquality_train1.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 6\n single_quotes: false\n column_names: [\"Ozone\",\"Solar.R\",\"Wind\",\"Temp\",\"Month\",\"Day\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"airquality_train1.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"airquality_train1.hex\""
},
{
"type": "cs",
"input": "splitFrame \"airquality_train1.hex\", [0.2], [\"airquality_train1_test\",\"airquality_train1_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"glm\""
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-941bbfcb-9812-4cab-9758-bb9205844508\",\"training_frame\":\"airquality_train1_train\",\"validation_frame\":\"airquality_train1_test\",\"ignore_const_cols\":true,\"response_column\":\"Ozone\",\"family\":\"gaussian\",\"solver\":\"IRLSM\",\"alpha\":[0.3],\"lambda\":[0.002],\"lambda_search\":false,\"standardize\":false,\"non_negative\":false,\"score_each_iteration\":false,\"max_iterations\":-1,\"link\":\"family_default\",\"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-941bbfcb-9812-4cab-9758-bb9205844508\""
},
{
"type": "cs",
"input": "predict model: \"glm-941bbfcb-9812-4cab-9758-bb9205844508\""
},
{
"type": "cs",
"input": "predict model: \"glm-941bbfcb-9812-4cab-9758-bb9205844508\", frame: \"airquality_train1_test\", predictions_frame: \"prediction-2372553e-d537-4d44-8603-3713fabe527a\""
}
]
}