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_junit_weights.flow Maven / Gradle / Ivy
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/junit/weights.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/junit/weights.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/junit/weights.csv\"]\n destination_frame: \"weights.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 6\n single_quotes: false\n column_names: [\"f1\",\"f2\",\"f3\",\"f4\",\"weight\",\"response\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"weights.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"weights.hex\""
},
{
"type": "cs",
"input": "splitFrame \"weights.hex\", [0.2], [\"weights_test\",\"weights_train\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"glm\""
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-e4aecf37-e84a-4fe8-ac50-f107aca47e56\",\"training_frame\":\"weights_train\",\"validation_frame\":\"weights_test\",\"ignore_const_cols\":true,\"response_column\":\"f1\",\"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-e4aecf37-e84a-4fe8-ac50-f107aca47e56\""
},
{
"type": "cs",
"input": "predict model: \"glm-e4aecf37-e84a-4fe8-ac50-f107aca47e56\""
},
{
"type": "cs",
"input": "predict model: \"glm-e4aecf37-e84a-4fe8-ac50-f107aca47e56\", frame: \"weights_test\", predictions_frame: \"prediction-39490631-04d4-42fb-b333-4bb9b9b50ada\""
}
]
}