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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
    
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/junit/bestbuy_train_10k.csv.gz\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/junit/bestbuy_train_10k.csv.gz\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/junit/bestbuy_train_10k.csv.gz\"]\n  destination_frame: \"bestbuy_train_10k1.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 6\n  single_quotes: false\n  column_names: [\"user\",\"sku\",\"category\",\"query\",\"click_time\",\"query_time\"]\n  column_types: [\"Enum\",\"Numeric\",\"Enum\",\"Enum\",\"Time\",\"Time\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 65536"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"bestbuy_train_10k1.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"bestbuy_train_10k1.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"bestbuy_train_10k1.hex\", [0.3], [\"bestbuy_train_10k_test.hex_0.30\",\"bestbuy_train_10k_train.hex_0.70\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"gbm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'gbm', {\"model_id\":\"gbm-5c9888a0-b717-4ff1-965d-835594286173\",\"training_frame\":\"bestbuy_train_10k_train.hex_0.70\",\"validation_frame\":\"bestbuy_train_10k_test.hex_0.30\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"query_time\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":-2334651746930401000,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"gbm-5c9888a0-b717-4ff1-965d-835594286173\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-5c9888a0-b717-4ff1-965d-835594286173\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-5c9888a0-b717-4ff1-965d-835594286173\", frame: \"bestbuy_train_10k_test.hex_0.30\", predictions_frame: \"prediction-1ad57c1d-d5d3-4a1a-9bde-d6078ed0c242\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy