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

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

{
  "version": "1.0.0",
  "cells": [
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/gbm_test/30k_cattest.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/gbm_test/30k_cattest.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/gbm_test/30k_cattest.csv\"]\n  destination_frame: \"X30k_cattest1.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 3\n  single_quotes: false\n  column_names: [\"C1\",\"C2\",\"C3\"]\n  column_types: [\"String\",\"Enum\",\"Numeric\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 4194304"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"X30k_cattest1.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"X30k_cattest1.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"X30k_cattest1.hex\", [0.25], [\"X30k_cattest1_test.hex_0.250\",\"X30k_cattest1_train.hex_0.750\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"glm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'glm', {\"model_id\":\"glm-35836d2a-a2d4-4164-b561-9170fa6a9617\",\"training_frame\":\"X30k_cattest1_train.hex_0.750\",\"validation_frame\":\"X30k_cattest1_test.hex_0.250\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"C2\",\"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\",\"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-35836d2a-a2d4-4164-b561-9170fa6a9617\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-35836d2a-a2d4-4164-b561-9170fa6a9617\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-35836d2a-a2d4-4164-b561-9170fa6a9617\", frame: \"X30k_cattest1_test.hex_0.250\", predictions_frame: \"prediction-5899bb78-c7cc-4ba2-bb80-189684281c9d\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy