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

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

{
  "version": "1.0.0",
  "cells": [
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/logreg/prostate_missing.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/logreg/prostate_missing.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/logreg/prostate_missing.csv\"]\n  destination_frame: \"prostate_missing.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 9\n  single_quotes: false\n  column_names: [\"ID\",\"CAPSULE\",\"AGE\",\"RACE\",\"DPROS\",\"DCAPS\",\"PSA\",\"VOL\",\"GLEASON\"]\n  column_types: [\"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 \"prostate_missing.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"prostate_missing.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"prostate_missing.hex\", [0.2], [\"prostate_missing_test.hex_0.20\",\"prostate_missing_train.hex_0.80\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"glm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'glm', {\"model_id\":\"glm-992d5af0-38ab-479f-90e3-a7f8db98ab8d\",\"training_frame\":\"prostate_missing_train.hex_0.80\",\"validation_frame\":\"prostate_missing_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"GLEASON\",\"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-992d5af0-38ab-479f-90e3-a7f8db98ab8d\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-992d5af0-38ab-479f-90e3-a7f8db98ab8d\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-992d5af0-38ab-479f-90e3-a7f8db98ab8d\", frame: \"prostate_missing_test.hex_0.20\", predictions_frame: \"prediction-aa88d248-9e79-4e9b-9942-5cdefd96b657\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy