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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
   
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/junit/weather.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/junit/weather.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/junit/weather.csv\"]\n  destination_frame: \"weather.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 24\n  single_quotes: false\n  column_names: [\"Date\",\"EvapMM\",\"Sunshine\",\"MaxWindSpeed\",\"Temp9am\",\"RelHumid9am\",\"Cloud9am\",\"WindSpeed9am\",\"Pressure9am\",\"Temp3pm\",\"RelHumid3pm\",\"Cloud3pm\",\"WindSpeed3pm\",\"Pressure3pm\",\"ChangeTemp\",\"ChangeTempDir\",\"ChangeTempMag\",\"ChangeWindDirect\",\"MaxWindPeriod\",\"RainToday\",\"TempRange\",\"PressureChange\",\"RISK_MM\",\"RainTomorrow\"]\n  column_types: [\"Time\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\",\"Enum\",\"Enum\",\"Enum\",\"Numeric\",\"Numeric\",\"Enum\",\"Numeric\",\"Numeric\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 4194304"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"weather.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"weather.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"weather.hex\", [0.25], [\"weather_test\",\"weather_train\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"gbm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'gbm', {\"model_id\":\"gbm-e577ddb4-45c8-4112-8870-c8aff6d66748\",\"training_frame\":\"weather_train\",\"validation_frame\":\"weather_test\",\"ignore_const_cols\":true,\"response_column\":\"Date\",\"ntrees\":\"20\",\"max_depth\":5,\"min_rows\":\"25\",\"nbins\":20,\"nbins_cats\":1024,\"seed\":2248467707416241700,\"learn_rate\":\"0.3\",\"distribution\":\"AUTO\",\"score_each_iteration\":false,\"r2_stopping\":0.999999,\"build_tree_one_node\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"gbm-e577ddb4-45c8-4112-8870-c8aff6d66748\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-e577ddb4-45c8-4112-8870-c8aff6d66748\""
    },
    {
      "type": "cs",
      "input": "predict model: \"gbm-e577ddb4-45c8-4112-8870-c8aff6d66748\", frame: \"weather_test\", predictions_frame: \"prediction-0463f129-6b2e-4a72-8ecf-454d1fd42d0d\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy