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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/flow_examples/abalone.csv.gz\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/flow_examples/abalone.csv.gz\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/flow_examples/abalone.csv.gz\"]\n  destination_frame: \"abalone1.hex\"\n  parse_type: \"CSV\"\n  separator: 32\n  number_columns: 9\n  single_quotes: false\n  column_names: [\"C1\",\"C2\",\"C3\",\"C4\",\"C5\",\"C6\",\"C7\",\"C8\",\"C9\"]\n  column_types: [\"Enum\",\"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 \"abalone1.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"abalone1.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"abalone1.hex\", [0.3], [\"abalone1_test.hex_0.30\",\"abalone1_train.hex_0.70\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"gbm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'gbm', {\"model_id\":\"gbm-5cfa629a-fa0e-4edf-9fe6-22efaccf43a7\",\"training_frame\":\"abalone1_train.hex_0.70\",\"validation_frame\":\"abalone1_test.hex_0.30\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"C9\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":8912039379824674000,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"gbm-5cfa629a-fa0e-4edf-9fe6-22efaccf43a7\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-5cfa629a-fa0e-4edf-9fe6-22efaccf43a7\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-5cfa629a-fa0e-4edf-9fe6-22efaccf43a7\", frame: \"abalone1_test.hex_0.30\", predictions_frame: \"prediction-d1f2d517-4301-4b03-a776-7255edadfdb5\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy