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

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

{
  "version": "1.0.0",
  "cells": [
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/iris/iris_wheader.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/iris/iris_wheader.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/iris/iris_wheader.csv\"]\n  destination_frame: \"iris_wheader.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 5\n  single_quotes: false\n  column_names: [\"sepal_len\",\"sepal_wid\",\"petal_len\",\"petal_wid\",\"class\"]\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 \"iris_wheader.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"iris_wheader.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"iris_wheader.hex\", [0.25], [\"frame_0.250\",\"frame_0.750\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"gbm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'gbm', {\"model_id\":\"gbm-6d564dea-1a07-436b-9333-925285f0ad35\",\"training_frame\":\"frame_0.750\",\"validation_frame\":\"frame_0.250\",\"ignore_const_cols\":true,\"response_column\":\"sepal_len\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"25\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":-9008042183012460000,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"gbm-6d564dea-1a07-436b-9333-925285f0ad35\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-6d564dea-1a07-436b-9333-925285f0ad35\""
    },
   
    {
      "type": "cs",
      "input": "predict model: \"gbm-6d564dea-1a07-436b-9333-925285f0ad35\", frame: \"frame_0.250\", predictions_frame: \"prediction-51bfdcf7-0952-4e8d-9ec0-0e4ae740b5c9\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy