Run data and code

This commit is contained in:
Jai Parera
2025-06-13 16:11:56 -07:00
parent 2ad40946d1
commit c8a0b18abf
8 changed files with 1321 additions and 0 deletions

24
run/run.bat Normal file
View 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