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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
   
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/junit/arff/iris.arff\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/junit/arff/iris.arff\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/junit/arff/iris.arff\"]\n  destination_frame: \"iris.hex\"\n  parse_type: \"ARFF\"\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.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"iris.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"iris.hex\", [0.25], [\"iris_test\",\"iris_train\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"drf\""
    },
    {
      "type": "cs",
      "input": "buildModel 'drf', {\"model_id\":\"drf-8d622158-a1a7-44ce-9d4c-5251a43b534b\",\"training_frame\":\"iris_train\",\"validation_frame\":\"iris_test\",\"ignore_const_cols\":true,\"response_column\":\"class\",\"ntrees\":\"10\",\"max_depth\":20,\"min_rows\":1,\"nbins\":20,\"nbins_cats\":1024,\"seed\":7197658498190994000,\"mtries\":-1,\"sample_rate\":0.632,\"score_each_iteration\":false,\"balance_classes\":false,\"max_confusion_matrix_size\":20,\"r2_stopping\":0.999999,\"build_tree_one_node\":false,\"binomial_double_trees\":true}"
    },
    {
      "type": "cs",
      "input": "getModel \"drf-8d622158-a1a7-44ce-9d4c-5251a43b534b\""
    },
    {
      "type": "cs",
      "input": "predict model: \"drf-8d622158-a1a7-44ce-9d4c-5251a43b534b\""
    },
    {
      "type": "cs",
      "input": "predict model: \"drf-8d622158-a1a7-44ce-9d4c-5251a43b534b\", frame: \"iris_test\", predictions_frame: \"prediction-ee36c202-7f1e-4460-ba93-09cb256968e6\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy