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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/logreg/cuseexpanded.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/logreg/cuseexpanded.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/logreg/cuseexpanded.csv\"]\n  destination_frame: \"cuseexpanded1.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 16\n  single_quotes: false\n  column_names: [\"Age\",\"AgeA\",\"AgeB\",\"AgeC\",\"AgeD\",\"Ed\",\"LowEd\",\"HighEd\",\"Wantsmore\",\"MoreYes\",\"MoreNo\",\"CountNotusing\",\"Using\",\"Percentuse\",\"UsingMultiClass\",\"UsingBinom\"]\n  column_types: [\"Enum\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Numeric\",\"Numeric\",\"Enum\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Numeric\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 4194304"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"cuseexpanded1.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"cuseexpanded1.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"cuseexpanded1.hex\", [0.2], [\"cuseexpanded1_test.hex_0.20\",\"cuseexpanded1_train.hex_0.80\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"gbm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'gbm', {\"model_id\":\"gbm-85a201f4-efdf-485e-ab3a-491af4a7520f\",\"training_frame\":\"cuseexpanded1_train.hex_0.80\",\"validation_frame\":\"cuseexpanded1_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"UsingBinom\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":-6679446002326875000,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"gbm-85a201f4-efdf-485e-ab3a-491af4a7520f\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-85a201f4-efdf-485e-ab3a-491af4a7520f\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-85a201f4-efdf-485e-ab3a-491af4a7520f\", frame: \"cuseexpanded1_test.hex_0.20\", predictions_frame: \"prediction-76052f17-2145-4579-944b-92e853cc2892\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy