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

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

{
  "version": "1.0.0",
  "cells": [
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/logreg/benign.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/logreg/benign.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/logreg/benign.csv\"]\n  destination_frame: \"benign2.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 14\n  single_quotes: false\n  column_names: [\"STR\",\"OBS\",\"AGMT\",\"FNDX\",\"HIGD\",\"DEG\",\"CHK\",\"AGP1\",\"AGMN\",\"NLV\",\"LIV\",\"WT\",\"AGLP\",\"MST\"]\n  column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 4194304"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"benign2.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"benign2.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"benign2.hex\", [0.2], [\"benign2_test.hex_0.20\",\"benign2_train.hex_0.80\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"gbm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'gbm', {\"model_id\":\"gbm-7a7fc45f-6aaa-43bf-bb90-1ef694e79538\",\"training_frame\":\"benign2_train.hex_0.80\",\"validation_frame\":\"benign2_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"MST\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":2020298523735898600,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"gbm-7a7fc45f-6aaa-43bf-bb90-1ef694e79538\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-7a7fc45f-6aaa-43bf-bb90-1ef694e79538\""
    },
  
    {
      "type": "cs",
      "input": "predict model: \"gbm-7a7fc45f-6aaa-43bf-bb90-1ef694e79538\", frame: \"benign2_test.hex_0.20\", predictions_frame: \"prediction-e98ee42f-774e-49a7-815a-5bed36b471b2\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy