All Downloads are FREE. Search and download functionalities are using the official Maven repository.

www.flow.packs.test-small.glm_test_handmade.flow Maven / Gradle / Ivy

There is a newer version: 3.46.0.6
Show newest version
{
  "version": "1.0.0",
  "cells": [
  
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/glm_test/handmade.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/glm_test/handmade.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/glm_test/handmade.csv\"]\n  destination_frame: \"handmade.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 7\n  single_quotes: false\n  column_names: [\"\",\"a\",\"b\",\"c\",\"d\",\"e\",\"f\"]\n  column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 65536"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"handmade.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"handmade.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"handmade.hex\", [0.25], [\"handmade_test\",\"handmade_train\"], 123456"
    },
    {
      "type": "cs",
      "input": "assist buildModel, null, training_frame: \"handmade.hex\""
    },
    {
      "type": "cs",
      "input": "buildModel 'glm', {\"model_id\":\"glm-4838220f-f1f0-4a6c-b4a4-c2e74192abcd\",\"training_frame\":\"handmade_train\",\"validation_frame\":\"handmade_test\",\"ignore_const_cols\":true,\"response_column\":\"a\",\"family\":\"gaussian\",\"solver\":\"IRLSM\",\"alpha\":[0],\"lambda\":[0.01],\"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-4838220f-f1f0-4a6c-b4a4-c2e74192abcd\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-4838220f-f1f0-4a6c-b4a4-c2e74192abcd\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-4838220f-f1f0-4a6c-b4a4-c2e74192abcd\", frame: \"handmade_train\", predictions_frame: \"prediction-224937d5-5037-4dba-8a05-00457a4ada9b\""
    }
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy