-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup_ML.sh
More file actions
executable file
·30 lines (27 loc) · 1.16 KB
/
setup_ML.sh
File metadata and controls
executable file
·30 lines (27 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
#
# MAHOMES II app
# Copyright (C) 2021 University of Kansas
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# @file setup_ML.sh
# @brief Saves ML models used for MAHOMES II in order to make predictions on new machines
# @author Ryan Feehan <RFeehan93@gmail.com>
## pass in local path to MAHOMES-II repo
MAHOMES_II_DIR=$1
echo "Running training and saving MAHOMES ML models with evaluations"
source ${MAHOMES_II_DIR}/venv/bin/activate
cd ${MAHOMES_II_DIR}/MachineLearning
python save_MAHOMES_II.py > saving_models_output.log