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

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

{
  "version": "1.0.0",
  "cells": [
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/pca_test/fgl_tr.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/pca_test/fgl_tr.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/pca_test/fgl_tr.csv\"]\n  destination_frame: \"fgl_tr1.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 10\n  single_quotes: false\n  column_names: [\"RI\",\"Na\",\"Mg\",\"Al\",\"Si\",\"K\",\"Ca\",\"Ba\",\"Fe\",\"type\"]\n  column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 4194304"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"fgl_tr1.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"fgl_tr1.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"fgl_tr1.hex\", [0.2], [\"fgl_tr1_test.hex_0.20\",\"fgl_tr1_train.hex_0.80\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"gbm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'gbm', {\"model_id\":\"gbm-de726240-7fb8-4953-82c4-58ae7b1e7645\",\"training_frame\":\"fgl_tr1_train.hex_0.80\",\"validation_frame\":\"fgl_tr1_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"type\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":-5148747193781306000,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"balance_classes\":false,\"max_confusion_matrix_size\":20,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"gbm-de726240-7fb8-4953-82c4-58ae7b1e7645\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-de726240-7fb8-4953-82c4-58ae7b1e7645\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-de726240-7fb8-4953-82c4-58ae7b1e7645\", frame: \"fgl_tr1_test.hex_0.20\", predictions_frame: \"prediction-2a646a5c-1825-43fd-bf71-fc2bc495cdd1\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy