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

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

{
  "version": "1.0.0",
  "cells": [
    
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/junit/auc.csv.gz\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/junit/auc.csv.gz\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/junit/auc.csv.gz\"]\n  destination_frame: \"auc2.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 2\n  single_quotes: false\n  column_names: [\"V1\",\"V2\"]\n  column_types: [\"Numeric\",\"Numeric\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 65536"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"auc2.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"auc2.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"auc2.hex\", [0.2], [\"auc_test.hex_0.20\",\"auc_train.hex_0.80\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"glm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'glm', {\"model_id\":\"glm-aae7750e-222a-492b-92d2-99aa97f0f3a7\",\"training_frame\":\"auc_train.hex_0.80\",\"validation_frame\":\"auc_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"V2\",\"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-aae7750e-222a-492b-92d2-99aa97f0f3a7\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-aae7750e-222a-492b-92d2-99aa97f0f3a7\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-aae7750e-222a-492b-92d2-99aa97f0f3a7\", frame: \"auc_test.hex_0.20\", predictions_frame: \"prediction-a3e6f5a8-6aab-4f84-9868-f04fd26de489\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy