www.flow.packs.test-small.glm_junit_40k_categoricals.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/junit/40k_categoricals.csv.gz\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/junit/40k_categoricals.csv.gz\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/junit/40k_categoricals.csv.gz\"]\n destination_frame: \"X40k_categoricals2.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 4\n single_quotes: false\n column_types: [\"String\",\"Numeric\",\"Enum\",\"Numeric\"]\n delete_on_done: true\n check_header: -1\n chunk_size: 65536"
},
{
"type": "cs",
"input": "getFrameSummary \"X40k_categoricals2.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"X40k_categoricals2.hex\""
},
{
"type": "cs",
"input": "splitFrame \"X40k_categoricals2.hex\", [0.3], [\"X40k_categoricals_test.hex_0.30\",\"X40k_categoricals_train.hex_0.70\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"glm\""
},
{
"type": "cs",
"input": "buildModel 'glm', {\"model_id\":\"glm-6ef53e67-e27d-4934-abee-590d69da8dc4\",\"training_frame\":\"X40k_categoricals_train.hex_0.70\",\"validation_frame\":\"X40k_categoricals_test.hex_0.30\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"C3\",\"family\":\"gaussian\",\"solver\":\"IRLSM\",\"alpha\":[],\"lambda\":[],\"lambda_search\":false,\"standardize\":true,\"non_negative\":false,\"score_each_iteration\":false,\"max_iterations\":-1,\"link\":\"family_default\",\"max_confusion_matrix_size\":20,\"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-6ef53e67-e27d-4934-abee-590d69da8dc4\""
},
{
"type": "cs",
"input": "predict model: \"glm-6ef53e67-e27d-4934-abee-590d69da8dc4\""
},
{
"type": "cs",
"input": "predict model: \"glm-6ef53e67-e27d-4934-abee-590d69da8dc4\", frame: \"X40k_categoricals_test.hex_0.30\", predictions_frame: \"prediction-a9cba8ce-bdf3-4dca-8c3d-7501e9c8976a\""
}
]
}