www.flow.packs.test-small.glm_gbm_test_ecology_eval.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/gbm_test/ecology_eval.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/gbm_test/ecology_eval.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/gbm_test/ecology_eval.csv\"]\n destination_frame: \"ecology_eval.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 13\n single_quotes: false\n column_names: [\"Angaus\",\"SegSumT\",\"SegTSeas\",\"SegLowFlow\",\"DSDist\",\"DSMaxSlope\",\"USAvgT\",\"USRainDays\",\"USSlope\",\"USNative\",\"DSDam\",\"Method\",\"LocSed\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"ecology_eval.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"ecology_eval.hex\""
},
{
"type": "cs",
"input": "splitFrame \"ecology_eval.hex\", [0.25], [\"ecology_eval_test.hex_0.250\",\"ecology_eval_train.hex_0.750\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"glm\""
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-7df240c1-b375-498c-bcd3-d02f4003c5e1\",\"training_frame\":\"ecology_eval_train.hex_0.750\",\"validation_frame\":\"ecology_eval_test.hex_0.250\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"Angaus\",\"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-7df240c1-b375-498c-bcd3-d02f4003c5e1\""
},
{
"type": "cs",
"input": "predict model: \"glm-7df240c1-b375-498c-bcd3-d02f4003c5e1\""
},
{
"type": "cs",
"input": "predict model: \"glm-7df240c1-b375-498c-bcd3-d02f4003c5e1\", frame: \"ecology_eval_test.hex_0.250\", predictions_frame: \"prediction-728ef07b-18d7-4dad-90fe-6b64454b6d81\""
}
]
}