mirror of
https://github.com/ltcptgeneral/IdealRMT-DecisionTrees.git
synced 2025-09-09 00:37:23 +00:00
Run data and code
This commit is contained in:
24
run/run.bat
Normal file
24
run/run.bat
Normal file
@@ -0,0 +1,24 @@
|
||||
@echo off
|
||||
REM --- settings --------------------------------------------------------
|
||||
set INPUT=..\data\combined\data.csv
|
||||
set OUTDIR=results\tree
|
||||
set DEPTH_LIST=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
||||
set BITS_LIST=0 1 3
|
||||
set PY=python
|
||||
REM ---------------------------------------------------------------------
|
||||
|
||||
if not exist "%OUTDIR%" mkdir "%OUTDIR%"
|
||||
|
||||
for %%D in (%DEPTH_LIST%) do (
|
||||
for %%B in (%BITS_LIST%) do (
|
||||
echo Running depth=%%D bits=%%B
|
||||
%PY% decision_tree.py ^
|
||||
--input "%INPUT%" ^
|
||||
--output "%OUTDIR%\tree_d%%D_b%%B.json" ^
|
||||
--depth %%D ^
|
||||
--nudge --bits %%B
|
||||
)
|
||||
)
|
||||
|
||||
echo All runs complete
|
||||
pause
|
Reference in New Issue
Block a user