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

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

There is a newer version: 3.8.2.9
Show newest version
{
  "version": "1.0.0",
  "cells": [
    
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/junit/benign.xls\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/junit/benign.xls\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/junit/benign.xls\"]\n  destination_frame: \"benign1.hex\"\n  parse_type: \"XLS\"\n  separator: -1\n  number_columns: 14\n  single_quotes: false\n  column_names: [\"STR\",\"OBS\",\"AGMT\",\"FNDX\",\"HIGD\",\"DEG\",\"CHK\",\"AGP1\",\"AGMN\",\"NLV\",\"LIV\",\"WT\",\"AGLP\",\"MST\"]\n  column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 4194304"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"benign1.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"benign1.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"benign1.hex\", [0.2], [\"benign_test.hex_0.20\",\"benign_train.hex_0.80\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"glm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'glm', {\"model_id\":\"glm-f5da8b12-ac85-439d-a7a6-0030d58532d4\",\"training_frame\":\"benign_train.hex_0.80\",\"validation_frame\":\"benign_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"MST\",\"family\":\"gaussian\",\"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-f5da8b12-ac85-439d-a7a6-0030d58532d4\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-f5da8b12-ac85-439d-a7a6-0030d58532d4\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-f5da8b12-ac85-439d-a7a6-0030d58532d4\", frame: \"benign_test.hex_0.20\", predictions_frame: \"prediction-46d7bdcc-3955-46ef-825d-ec7877935a6e\""
    }
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy