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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/logreg/prostate_test.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/logreg/prostate_test.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/logreg/prostate_test.csv\"]\n  destination_frame: \"prostate_test2.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 8\n  single_quotes: false\n  column_names: [\"CAPSULE\",\"AGE\",\"RACE\",\"DPROS\",\"DCAPS\",\"PSA\",\"VOL\",\"GLEASON\"]\n  column_types: [\"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 \"prostate_test2.hex\""
    },
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/logreg/prostate_train.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/logreg/prostate_train.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/logreg/prostate_train.csv\"]\n  destination_frame: \"prostate_train2.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 8\n  single_quotes: false\n  column_names: [\"CAPSULE\",\"AGE\",\"RACE\",\"DPROS\",\"DCAPS\",\"PSA\",\"VOL\",\"GLEASON\"]\n  column_types: [\"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 \"prostate_train2.hex\""
    },
    {
      "type": "cs",
      "input": "assist buildModel, null, training_frame: \"prostate_train2.hex\""
    },
    {
      "type": "cs",
      "input": "buildModel 'gbm', {\"model_id\":\"gbm-c0054a1d-58ed-4cc3-bba2-4f5cb6923481\",\"training_frame\":\"prostate_train2.hex\",\"validation_frame\":\"prostate_test2.hex\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"GLEASON\",\"ntrees\":50,\"max_depth\":5,\"min_rows\":10,\"nbins\":20,\"nbins_cats\":1024,\"seed\":-9097628182186320000,\"learn_rate\":0.1,\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"gbm-c0054a1d-58ed-4cc3-bba2-4f5cb6923481\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-c0054a1d-58ed-4cc3-bba2-4f5cb6923481\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-c0054a1d-58ed-4cc3-bba2-4f5cb6923481\", frame: \"prostate_test2.hex\", predictions_frame: \"prediction-f6fb04b4-b567-4f59-b8b6-ca1ab81db020\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy