www.flow.packs.test-small.glm_pca_test_USArrests.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/pca_test/USArrests.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/pca_test/USArrests.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/pca_test/USArrests.csv\"]\n destination_frame: \"USArrests3.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 4\n single_quotes: false\n column_names: [\"Murder\",\"Assault\",\"UrbanPop\",\"Rape\"]\n column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"USArrests3.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"USArrests3.hex\""
},
{
"type": "cs",
"input": "splitFrame \"USArrests3.hex\", [0.2], [\"USArrests_test.hex_0.20\",\"USArrests_train.hex_0.80\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"glm\""
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-3da81b19-cd3b-462b-a8a2-89c0525b9d0b\",\"training_frame\":\"USArrests_train.hex_0.80\",\"validation_frame\":\"USArrests_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"Rape\",\"family\":\"gaussian\",\"solver\":\"IRLSM\",\"alpha\":[],\"lambda\":[],\"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-3da81b19-cd3b-462b-a8a2-89c0525b9d0b\""
},
{
"type": "cs",
"input": "predict model: \"glm-3da81b19-cd3b-462b-a8a2-89c0525b9d0b\""
},
{
"type": "cs",
"input": "predict model: \"glm-3da81b19-cd3b-462b-a8a2-89c0525b9d0b\", frame: \"USArrests_test.hex_0.20\", predictions_frame: \"prediction-10646237-7de3-4c54-a8dd-986495f561fa\""
}
]
}