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

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

{
  "version": "1.0.0",
  "cells": [

    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/junit/weights_all_ones.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/junit/weights_all_ones.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/junit/weights_all_ones.csv\"]\n  destination_frame: \"weights_all_ones.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 6\n  single_quotes: false\n  column_names: [\"f1\",\"f2\",\"f3\",\"f4\",\"weight\",\"response\"]\n  column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 4194304"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"weights_all_ones.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"weights_all_ones.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"weights_all_ones.hex\", [0.2], [\"weights_all_ones_test\",\"weights_all_ones_train\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"drf\""
    },
    {
      "type": "cs",
      "input": "buildModel 'drf', {\"model_id\":\"drf-fc295f80-2c2f-4000-a698-c1f89306ed42\",\"training_frame\":\"weights_all_ones_train\",\"validation_frame\":\"weights_all_ones_test\",\"ignore_const_cols\":true,\"response_column\":\"response\",\"ntrees\":\"10\",\"max_depth\":20,\"min_rows\":1,\"nbins\":20,\"nbins_cats\":1024,\"seed\":-2856274777361754600,\"mtries\":-1,\"sample_rate\":0.632,\"score_each_iteration\":false,\"balance_classes\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false,\"binomial_double_trees\":true}"
    },
    {
      "type": "cs",
      "input": "getModel \"drf-fc295f80-2c2f-4000-a698-c1f89306ed42\""
    },
    {
      "type": "cs",
      "input": "predict model: \"drf-fc295f80-2c2f-4000-a698-c1f89306ed42\""
    },
    {
      "type": "cs",
      "input": "predict model: \"drf-fc295f80-2c2f-4000-a698-c1f89306ed42\", frame: \"weights_all_ones_test\", predictions_frame: \"prediction-a3a9e46c-7645-4165-8752-f70d268bdc48\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy