www.flow.packs.test-small.dl_junit_cars_trim.flow Maven / Gradle / Ivy
The newest version!
{
"version": "1.0.0",
"cells": [
{
"type": "cs",
"input": "importFiles [ \"../smalldata/junit/cars_trim.csv\" ]"
},
{
"type": "cs",
"input": "setupParse paths: [ \"../smalldata/junit/cars_trim.csv\" ]"
},
{
"type": "cs",
"input": "parseFiles\n paths: [\"../smalldata/junit/cars_trim.csv\"]\n destination_frame: \"cars_trim.hex\"\n parse_type: \"CSV\"\n separator: 44\n number_columns: 8\n single_quotes: false\n column_names: [\"name\",\"economy (mpg)\",\"cylinders\",\"displacement (cc)\",\"power (hp)\",\"weight (lb)\",\"0-60 mph (s)\",\"year\"]\n column_types: [\"Enum\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Numeric\",\"Enum\"]\n delete_on_done: true\n check_header: 1\n chunk_size: 4194304"
},
{
"type": "cs",
"input": "getFrameSummary \"cars_trim.hex\""
},
{
"type": "cs",
"input": "assist splitFrame, \"cars_trim.hex\""
},
{
"type": "cs",
"input": "splitFrame \"cars_trim.hex\", [0.3], [\"cars_trim_test.hex_0.30\",\"cars_trim_train.hex_0.70\"], 123456"
},
{
"type": "cs",
"input": "buildModel \"deeplearning\""
},
{
"type": "cs",
"input": "buildModel 'deeplearning', {\"model_id\":\"deeplearning-6e718656-7757-48fc-aa02-03d9fec9aaca\",\"training_frame\":\"cars_trim_train.hex_0.70\",\"validation_frame\":\"cars_trim_test.hex_0.30\",\"ignored_columns\":[],\"ignore_const_cols\":true,\"response_column\":\"year\",\"activation\":\"Rectifier\",\"hidden\":[200,200],\"epochs\":10,\"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\":5516284151097392000,\"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-6e718656-7757-48fc-aa02-03d9fec9aaca\""
},
{
"type": "cs",
"input": "predict model: \"deeplearning-6e718656-7757-48fc-aa02-03d9fec9aaca\""
},
{
"type": "cs",
"input": "predict model: \"deeplearning-6e718656-7757-48fc-aa02-03d9fec9aaca\", frame: \"cars_trim_test.hex_0.30\", predictions_frame: \"prediction-61f4c580-6761-4042-adbd-853b9fa5ae43\""
}
]
}