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

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

The newest version!
{
  "version": "1.0.0",
  "cells": [
   
    {
      "type": "cs",
      "input": "importFiles"
    },
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/synthetic_perfect_separation/balanced.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/synthetic_perfect_separation/balanced.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/synthetic_perfect_separation/balanced.csv\"]\n  destination_frame: \"balanced.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 3\n  single_quotes: false\n  column_names: [\"y\",\"x1\",\"x2\"]\n  column_types: [\"Numeric\",\"Numeric\",\"Numeric\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 4194304"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"balanced.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"balanced.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"balanced.hex\", [0.2], [\"balanced_test\",\"balanced_train\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"glm\""
    },
    {
      "type": "cs",
      "input": "buildModel 'glm', {\"model_id\":\"glm-e0acc1fe-a3d3-4283-97ac-ae8b0dc96de8\",\"training_frame\":\"balanced_train\",\"validation_frame\":\"balanced_test\",\"ignore_const_cols\":true,\"response_column\":\"y\",\"family\":\"binomial\",\"solver\":\"IRLSM\",\"alpha\":[0],\"lambda\":[1e-8],\"lambda_search\":true,\"nlambdas\":-1,\"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,\"lambda_min_ratio\":-1,\"max_active_predictors\":-1}"
    },
    {
      "type": "cs",
      "input": "getModel \"glm-e0acc1fe-a3d3-4283-97ac-ae8b0dc96de8\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-e0acc1fe-a3d3-4283-97ac-ae8b0dc96de8\""
    },
    {
      "type": "cs",
      "input": "predict model: \"glm-e0acc1fe-a3d3-4283-97ac-ae8b0dc96de8\", frame: \"balanced_test\", predictions_frame: \"prediction-fb9749f1-5a17-4b92-8caa-a62af7754877\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy