From 80abf9bac0917b236c239e23f6c25f5c336ccd7d Mon Sep 17 00:00:00 2001
From: Tim O'Donnell <timodonnell@gmail.com>
Date: Tue, 6 Feb 2018 12:20:04 -0500
Subject: [PATCH] update cross validation download

---
 downloads-generation/cross_validation_class1/GENERATE.sh       | 3 ++-
 .../cross_validation_class1/generate_hyperparameters.py        | 1 +
 .../cross_validation_class1/hyperparameters.yaml               | 1 -
 3 files changed, 3 insertions(+), 2 deletions(-)
 create mode 120000 downloads-generation/cross_validation_class1/generate_hyperparameters.py
 delete mode 120000 downloads-generation/cross_validation_class1/hyperparameters.yaml

diff --git a/downloads-generation/cross_validation_class1/GENERATE.sh b/downloads-generation/cross_validation_class1/GENERATE.sh
index c35e0862..4c6c5724 100755
--- a/downloads-generation/cross_validation_class1/GENERATE.sh
+++ b/downloads-generation/cross_validation_class1/GENERATE.sh
@@ -30,7 +30,8 @@ git status
 
 cd $SCRATCH_DIR/$DOWNLOAD_NAME
 
-cp $SCRIPT_DIR/hyperparameters.yaml .
+python $SCRIPT_DIR/generate_hyperparameters.py > hyperparameters.yaml
+
 cp $SCRIPT_DIR/split_folds.py .
 cp $SCRIPT_DIR/score.py .
 
diff --git a/downloads-generation/cross_validation_class1/generate_hyperparameters.py b/downloads-generation/cross_validation_class1/generate_hyperparameters.py
new file mode 120000
index 00000000..5f2599b4
--- /dev/null
+++ b/downloads-generation/cross_validation_class1/generate_hyperparameters.py
@@ -0,0 +1 @@
+../models_class1/generate_hyperparameters.py
\ No newline at end of file
diff --git a/downloads-generation/cross_validation_class1/hyperparameters.yaml b/downloads-generation/cross_validation_class1/hyperparameters.yaml
deleted file mode 120000
index f32feef1..00000000
--- a/downloads-generation/cross_validation_class1/hyperparameters.yaml
+++ /dev/null
@@ -1 +0,0 @@
-../models_class1/hyperparameters.yaml
\ No newline at end of file
-- 
GitLab