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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
   
    {
      "type": "cs",
      "input": "importFiles"
    },
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/testng/iris_validation1.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/testng/iris_validation1.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/testng/iris_validation1.csv\"]\n  destination_frame: \"iris_validation1.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\",\"Species\"]\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_validation1.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"iris_validation1.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"iris_validation1.hex\", [0.2], [\"iris_validation1_test\",\"iris_validation1_train\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"gbm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'gbm', {\"model_id\":\"gbm-fe722b63-ff71-4795-9dfd-0c3a848a27bb\",\"training_frame\":\"iris_validation1_train\",\"validation_frame\":\"iris_validation1_test\",\"ignore_const_cols\":true,\"response_column\":\"Sepal.Length\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"10\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":8215930360469707000,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"gbm-fe722b63-ff71-4795-9dfd-0c3a848a27bb\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-fe722b63-ff71-4795-9dfd-0c3a848a27bb\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-fe722b63-ff71-4795-9dfd-0c3a848a27bb\", frame: \"iris_validation1_test\", predictions_frame: \"prediction-bec55562-c6ad-4ccd-a906-3b576ec00dd7\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy