From a82ede1619aa57fe081805f10a799e1f8e3b53f9 Mon Sep 17 00:00:00 2001 From: nunzip Date: Wed, 27 Feb 2019 23:35:11 +0000 Subject: Default split for mix at the end of function arguments --- lenet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lenet.py b/lenet.py index ff042f1..fa27422 100644 --- a/lenet.py +++ b/lenet.py @@ -127,7 +127,7 @@ def test_classifier(model, x_test, y_true): print("Test acc:", accuracy_score(y_true, y_pred)) plot_example_errors(y_pred, y_true, x_test) -def mix_data(split=0, X_train, y_train, X_validation, y_validation, train_gen, tr_labels_gen, val_gen, val_labels_gen): +def mix_data(X_train, y_train, X_validation, y_validation, train_gen, tr_labels_gen, val_gen, val_labels_gen, split=0): if split == 0: train_data = X_train -- cgit v1.2.3-54-g00ecf