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

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

{
  "version": "1.0.0",
  "cells": [
    
    {
      "type": "cs",
      "input": "importFiles"
    },
    {
      "type": "cs",
      "input": "importFiles [ \"../smalldata/testng/insurance_train1.csv\" ]"
    },
    {
      "type": "cs",
      "input": "setupParse paths: [ \"../smalldata/testng/insurance_train1.csv\" ]"
    },
    {
      "type": "cs",
      "input": "parseFiles\n  paths: [\"../smalldata/testng/insurance_train1.csv\"]\n  destination_frame: \"insurance_train1.hex\"\n  parse_type: \"CSV\"\n  separator: 44\n  number_columns: 5\n  single_quotes: false\n  column_names: [\"District\",\"Group\",\"Age\",\"Holders\",\"Claims\"]\n  column_types: [\"Numeric\",\"Enum\",\"Enum\",\"Numeric\",\"Enum\"]\n  delete_on_done: true\n  check_header: 1\n  chunk_size: 4194304"
    },
    {
      "type": "cs",
      "input": "getFrameSummary \"insurance_train1.hex\""
    },
    {
      "type": "cs",
      "input": "assist splitFrame, \"insurance_train1.hex\""
    },
    {
      "type": "cs",
      "input": "splitFrame \"insurance_train1.hex\", [0.2], [\"insurance_train1_test\",\"insurance_train1_train\"], 123456"
    },
    {
      "type": "cs",
      "input": "buildModel \"deeplearning\""
    },
    {
      "type": "cs",
      "input": "buildModel 'deeplearning', {\"model_id\":\"deeplearning-0d4e80e5-ad04-4fdd-951c-8d26d94385a1\",\"training_frame\":\"insurance_train1_train\",\"validation_frame\":\"insurance_train1_test\",\"ignore_const_cols\":true,\"response_column\":\"Claims\",\"activation\":\"Tanh\",\"hidden\":[50,50],\"epochs\":\"0.1\",\"variable_importances\":false,\"balance_classes\":false,\"max_confusion_matrix_size\":20,\"checkpoint\":\"\",\"use_all_factor_levels\":true,\"train_samples_per_iteration\":-2,\"adaptive_rate\":true,\"input_dropout_ratio\":0,\"l1\":0,\"l2\":0,\"loss\":\"Automatic\",\"score_interval\":5,\"score_training_samples\":10000,\"score_validation_samples\":0,\"score_duty_cycle\":0.1,\"autoencoder\":false,\"overwrite_with_best_model\":true,\"target_ratio_comm_to_comp\":0.02,\"seed\":-1678515274781112300,\"rho\":0.99,\"epsilon\":1e-8,\"max_w2\":\"Infinity\",\"initial_weight_distribution\":\"UniformAdaptive\",\"classification_stop\":0,\"score_validation_sampling\":\"Uniform\",\"diagnostics\":true,\"fast_mode\":true,\"force_load_balance\":true,\"single_node_mode\":false,\"shuffle_training_data\":false,\"missing_values_handling\":\"MeanImputation\",\"quiet_mode\":false,\"sparse\":false,\"col_major\":false,\"average_activation\":0,\"sparsity_beta\":0,\"max_categorical_features\":2147483647,\"reproducible\":false,\"export_weights_and_biases\":false}"
    },
    {
      "type": "cs",
      "input": "getModel \"deeplearning-0d4e80e5-ad04-4fdd-951c-8d26d94385a1\""
    },
    {
      "type": "cs",
      "input": "predict model: \"deeplearning-0d4e80e5-ad04-4fdd-951c-8d26d94385a1\""
    },
    {
      "type": "cs",
      "input": "predict model: \"deeplearning-0d4e80e5-ad04-4fdd-951c-8d26d94385a1\", frame: \"insurance_train1_test\", predictions_frame: \"prediction-6ebc1431-99ec-4318-aa76-f7e58380e4b4\""
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy