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-small.glm_test_prostate_cat_replaced.flow Maven / Gradle / Ivy
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/glm_test/prostate_cat_replaced.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/glm_test/prostate_cat_replaced.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/glm_test/prostate_cat_replaced.csv\"]\n destination_frame: \"prostate_cat_replaced.hex\"\n parse_type: \"CSV\"\n separator: 44\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\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"prostate_cat_replaced.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"prostate_cat_replaced.hex\""
},
{
"type": "cs",
"input": "splitFrame \"prostate_cat_replaced.hex\", [0.25], [\"prostate_cat_replaced_test\",\"prostate_cat_replaced_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"glm\""
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-8fed8d22-f0bd-4cde-bbf4-8c7ac5c3cd48\",\"training_frame\":\"prostate_cat_replaced_train\",\"validation_frame\":\"prostate_cat_replaced_test\",\"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-8fed8d22-f0bd-4cde-bbf4-8c7ac5c3cd48\""
},
{
"type": "cs",
"input": "predict model: \"glm-8fed8d22-f0bd-4cde-bbf4-8c7ac5c3cd48\""
},
{
"type": "cs",
"input": "predict model: \"glm-8fed8d22-f0bd-4cde-bbf4-8c7ac5c3cd48\", frame: \"prostate_cat_replaced_test\", predictions_frame: \"prediction-4f84ce45-587f-4892-999a-af15686a9ef4\""
}
]
}