www.flow.packs.test-small.glm_pca_test_poison.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/pca_test/poison.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/pca_test/poison.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/pca_test/poison.csv\"]\n destination_frame: \"poison2.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 15\n single_quotes: false\n column_names: [\"Age\",\"Time\",\"Sick\",\"Sex\",\"Nausea\",\"Vomiting\",\"Abdominals\",\"Fever\",\"Diarrhae\",\"Potato\",\"Fish\",\"Mayo\",\"Courgette\",\"Cheese\",\"Icecream\"]\n column_types: [\"Numeric\",\"Numeric\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"poison2.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"poison2.hex\""
},
{
"type": "cs",
"input": "splitFrame \"poison2.hex\", [0.2], [\"poison_test.hex_0.20\",\"poison_train.hex_0.80\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"glm\""
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-73ff1f90-da4b-4392-bd91-daa8c9d49878\",\"training_frame\":\"poison_train.hex_0.80\",\"validation_frame\":\"poison_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"Icecream\",\"family\":\"binomial\",\"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-73ff1f90-da4b-4392-bd91-daa8c9d49878\""
},
{
"type": "cs",
"input": "predict model: \"glm-73ff1f90-da4b-4392-bd91-daa8c9d49878\""
},
{
"type": "cs",
"input": "predict model: \"glm-73ff1f90-da4b-4392-bd91-daa8c9d49878\", frame: \"poison_test.hex_0.20\", predictions_frame: \"prediction-e5beef58-b8e3-45f8-9c74-921f04f296e1\""
}
]
}