www.flow.packs.test-small.glm_test_prostate_cat_test-train.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/glm_test/prostate_cat_test.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/glm_test/prostate_cat_test.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/glm_test/prostate_cat_test.csv\"]\n destination_frame: \"prostate_cat_test.hex\"\n parse_type: \"CSV\"\n separator: 32\n number_columns: 9\n single_quotes: false\n column_names: [\"ID\",\"CAPSULE\",\"AGE\",\"RACE\",\"DPROS\",\"DCAPS\",\"PSA\",\"VOL\",\"GLEASON\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Enum\",\"Enum\",\"Numeric\",\"Numeric\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"prostate_cat_test.hex\""
},
{
"type": "cs",
"input": "assist buildModel, null, training_frame: \"prostate_cat_test.hex\""
},
{
"type": "cs",
"input": "importFiles"
},
{
"type": "cs",
"input": "importFiles [ \"../smalldata/glm_test/prostate_cat_train.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/glm_test/prostate_cat_train.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/glm_test/prostate_cat_train.csv\"]\n destination_frame: \"prostate_cat_train.hex\"\n parse_type: \"CSV\"\n separator: 32\n number_columns: 9\n single_quotes: false\n column_names: [\"ID\",\"CAPSULE\",\"AGE\",\"RACE\",\"DPROS\",\"DCAPS\",\"PSA\",\"VOL\",\"GLEASON\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Enum\",\"Enum\",\"Numeric\",\"Numeric\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"prostate_cat_train.hex\""
},
{
"type": "cs",
"input": "assist buildModel, null, training_frame: \"prostate_cat_train.hex\""
},
{
"type": "cs",
"input": "buildModel \"glm\""
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-130a154a-630c-4619-a905-0c2e45c29892\",\"training_frame\":\"prostate_cat_train.hex\",\"validation_frame\":\"prostate_cat_test.hex\",\"ignore_const_cols\":true,\"response_column\":\"ID\",\"family\":\"gaussian\",\"solver\":\"IRLSM\",\"alpha\":[0.3],\"lambda\":[0.002],\"lambda_search\":false,\"standardize\":true,\"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-130a154a-630c-4619-a905-0c2e45c29892\""
},
{
"type": "cs",
"input": "predict model: \"glm-130a154a-630c-4619-a905-0c2e45c29892\""
},
{
"type": "cs",
"input": "predict model: \"glm-130a154a-630c-4619-a905-0c2e45c29892\", frame: \"prostate_cat_test.hex\", predictions_frame: \"prediction-ad12bedf-cbc6-4833-8ca8-4690c2b5b9d7\""
}
]
}