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_prostate.flow Maven / Gradle / Ivy
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/logreg/prostate_train.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/logreg/prostate_train.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/logreg/prostate_train.csv\"]\n destination_frame: \"prostate_train1.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 8\n single_quotes: false\n column_names: [\"CAPSULE\",\"AGE\",\"RACE\",\"DPROS\",\"DCAPS\",\"PSA\",\"VOL\",\"GLEASON\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"prostate_train1.hex\""
},
{
"type": "cs",
"input": "importFiles"
},
{
"type": "cs",
"input": "importFiles [ \"../smalldata/logreg/prostate_test.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/logreg/prostate_test.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/logreg/prostate_test.csv\"]\n destination_frame: \"prostate_test1.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 8\n single_quotes: false\n column_names: [\"CAPSULE\",\"AGE\",\"RACE\",\"DPROS\",\"DCAPS\",\"PSA\",\"VOL\",\"GLEASON\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"prostate_test1.hex\""
},
{
"type": "cs",
"input": "assist buildModel, null, training_frame: \"prostate_test1.hex\""
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-48773f3b-e2c4-4ada-be58-563e2d106443\",\"training_frame\":\"prostate_train1.hex\",\"validation_frame\":\"prostate_test1.hex\",\"ignore_const_cols\":true,\"response_column\":\"CAPSULE\",\"family\":\"binomial\",\"solver\":\"IRLSM\",\"alpha\":[0],\"lambda\":[1],\"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\":\"1E-2\",\"gradient_epsilon\":0.0001,\"prior\":-1,\"max_active_predictors\":-1}"
},
{
"type": "cs",
"input": "getModel \"glm-48773f3b-e2c4-4ada-be58-563e2d106443\""
},
{
"type": "cs",
"input": "predict model: \"glm-48773f3b-e2c4-4ada-be58-563e2d106443\""
},
{
"type": "cs",
"input": "predict model: \"glm-48773f3b-e2c4-4ada-be58-563e2d106443\", frame: \"prostate_test1.hex\", predictions_frame: \"prediction-87a16178-92b2-4f80-b326-6fa988fcee46\""
}
]
}