-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_complete_pipeline.bat
More file actions
66 lines (60 loc) · 1.77 KB
/
run_complete_pipeline.bat
File metadata and controls
66 lines (60 loc) · 1.77 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@echo off
echo ======================================================================
echo EXTREME WEATHER PREDICTION - COMPLETE PIPELINE
echo ======================================================================
echo.
echo Step 1: Collecting NASA Data for Multiple Cities...
echo ======================================================================
python src\data_collection.py --multi
if %ERRORLEVEL% NEQ 0 (
echo ERROR: Data collection failed!
pause
exit /b 1
)
echo.
echo ✓ Data collection completed!
echo.
echo Step 2: Feature Engineering...
echo ======================================================================
python src\feature_engineering.py
if %ERRORLEVEL% NEQ 0 (
echo ERROR: Feature engineering failed!
pause
exit /b 1
)
echo.
echo ✓ Feature engineering completed!
echo.
echo Step 3: Training Models...
echo ======================================================================
python src\train_models.py
if %ERRORLEVEL% NEQ 0 (
echo ERROR: Model training failed!
pause
exit /b 1
)
echo.
echo ✓ Model training completed!
echo.
echo Step 4: Evaluating Models...
echo ======================================================================
python src\evaluate.py
if %ERRORLEVEL% NEQ 0 (
echo ERROR: Model evaluation failed!
pause
exit /b 1
)
echo.
echo ✓ Model evaluation completed!
echo.
echo ======================================================================
echo ✅ PIPELINE COMPLETED SUCCESSFULLY!
echo ======================================================================
echo.
echo Next steps:
echo 1. Check trained models in: models\trained\
echo 2. View evaluation results in: evaluation_results\
echo 3. Start the API server: python src\api.py
echo 4. Open frontend: frontend\index.html
echo.
pause