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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/flow_examples/seeds_dataset.txt\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/flow_examples/seeds_dataset.txt\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/flow_examples/seeds_dataset.txt\"]\n  destination_frame: \"seeds_dataset3.hex\"\n  parse_type: \"CSV\"\n  separator: 9\n  number_columns: 8\n  single_quotes: false\n  column_types: [\"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 \"seeds_dataset3.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"seeds_dataset3.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"seeds_dataset3.hex\", [0.25], [\"seeds_dataset3_test.hex_0.250\",\"seeds_dataset3_train.hex_0.750\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"gbm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'gbm', {\"model_id\":\"gbm-f9564742-0b3c-471c-bb38-72769a052e20\",\"training_frame\":\"seeds_dataset3_train.hex_0.750\",\"validation_frame\":\"seeds_dataset3_test.hex_0.250\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"C8\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":-8538437359144024000,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"gbm-f9564742-0b3c-471c-bb38-72769a052e20\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-f9564742-0b3c-471c-bb38-72769a052e20\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-f9564742-0b3c-471c-bb38-72769a052e20\", frame: \"seeds_dataset3_test.hex_0.250\", predictions_frame: \"prediction-eb19cca7-a252-4893-a508-c8090264cf6b\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy