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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/iris/iris2.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/iris/iris2.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/iris/iris2.csv\"]\n  destination_frame: \"iris2.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 5\n  single_quotes: false\n  column_names: [\"Sepal.Length\",\"Sepal.Width\",\"Petal.Length\",\"Petal.Width\",\"response\"]\n  column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 4194304"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"iris2.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"iris2.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"iris2.hex\", [0.2], [\"iris2.hex_0.20\",\"iris2.hex_0.80\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"gbm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'gbm', {\"model_id\":\"gbm-33d6f9e1-da67-4b0e-95c9-a81fd4888e47\",\"training_frame\":\"iris2.hex_0.80\",\"validation_frame\":\"iris2.hex_0.20\",\"ignore_const_cols\":true,\"response_column\":\"Sepal.Length\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"25\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":-1043300350262001400,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"gbm-33d6f9e1-da67-4b0e-95c9-a81fd4888e47\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-33d6f9e1-da67-4b0e-95c9-a81fd4888e47\""
    },
    
    {
      "type": "cs",
      "input": "predict model: \"gbm-33d6f9e1-da67-4b0e-95c9-a81fd4888e47\", frame: \"iris2.hex_0.20\", predictions_frame: \"prediction-7f74d5f5-5fe1-4eff-8b08-6322a00a1bc7\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy