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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/pca_test/decathlon.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/pca_test/decathlon.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/pca_test/decathlon.csv\"]\n  destination_frame: \"decathlon2.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 13\n  single_quotes: false\n  column_names: [\"100m\",\"Long.jump\",\"Shot.put\",\"High.jump\",\"400m\",\"110m.hurdle\",\"Discus\",\"Pole.vault\",\"Javeline\",\"1500m\",\"Rank\",\"Points\",\"Competition\"]\n  column_types: [\"Numeric\",\"Numeric\",\"Numeric\",\"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 \"decathlon2.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"decathlon2.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"decathlon2.hex\", [0.2], [\"decathlon_test.hex_0.20\",\"decathlon_train.hex_0.80\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"glm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'glm', {\"model_id\":\"glm-04d1c22c-8fd4-4bf0-a6a2-c1d99ea802a4\",\"training_frame\":\"decathlon_train.hex_0.80\",\"validation_frame\":\"decathlon_test.hex_0.20\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"Competition\",\"family\":\"binomial\",\"solver\":\"IRLSM\",\"alpha\":[],\"lambda\":[],\"lambda_search\":false,\"standardize\":true,\"non_negative\":false,\"score_each_iteration\":false,\"max_iterations\":-1,\"link\":\"family_default\",\"intercept\":true,\"objective_epsilon\":0.00001,\"beta_epsilon\":0.0001,\"gradient_epsilon\":0.0001,\"prior\":-1,\"max_active_predictors\":-1}"
    },
    {
      "type": "cs",
      "input": "getModel \"glm-04d1c22c-8fd4-4bf0-a6a2-c1d99ea802a4\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-04d1c22c-8fd4-4bf0-a6a2-c1d99ea802a4\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-04d1c22c-8fd4-4bf0-a6a2-c1d99ea802a4\", frame: \"decathlon_test.hex_0.20\", predictions_frame: \"prediction-cfb69f3d-352d-4cdc-964b-4776a49f61f0\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy