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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
   
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/junit/weights_all_ones.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/junit/weights_all_ones.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/junit/weights_all_ones.csv\"]\n  destination_frame: \"weights_all_ones.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 6\n  single_quotes: false\n  column_names: [\"f1\",\"f2\",\"f3\",\"f4\",\"weight\",\"response\"]\n  column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 4194304"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"weights_all_ones.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"weights_all_ones.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"weights_all_ones.hex\", [0.2], [\"weights_all_ones_test\",\"weights_all_ones_train\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"glm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'glm', {\"model_id\":\"glm-f13ece0a-6110-41d9-959e-81ce1fad304f\",\"training_frame\":\"weights_all_ones_train\",\"validation_frame\":\"weights_all_ones_test\",\"ignore_const_cols\":true,\"response_column\":\"f1\",\"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\",\"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-f13ece0a-6110-41d9-959e-81ce1fad304f\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-f13ece0a-6110-41d9-959e-81ce1fad304f\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-f13ece0a-6110-41d9-959e-81ce1fad304f\", frame: \"weights_all_ones_test\", predictions_frame: \"prediction-e76f153b-804d-4254-bfbd-2082849565ee\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy