Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
services:
fastapi:
image: docker.io/raghavanb/fastapi:dev
build:
context: "./"
dockerfile: "Dockerfile"
ports:
- "8000:8000"
streamlit:
image: docker.io/raghavanb/streamlit:dev
build:
context: "streamlit_app/"
dockerfile: "Dockerfile"
ports:
- "8501:8501"
environment:
API_URL: "http://fastapi:8000"
6 changes: 6 additions & 0 deletions mlflow/compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
services:
mlflow:
image: ghcr.io/mlflow/mlflow:latest
ports:
- 5555:5000
command: mlflow server --host 0.0.0.0
9 changes: 1 addition & 8 deletions run_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# ------------------------------- CONFIG -------------------------------------

PROJECT_ROOT="house-price-predictor"
PROJECT_ROOT="hprice-predictor"
INPUT_RAW="data/raw/house_data.csv"
CLEANED_DATA="data/processed/cleaned_house_data.csv"
FEATURED_DATA="data/processed/featured_house_data.csv"
Expand Down Expand Up @@ -100,13 +100,6 @@ run_model_training() {
main() {
check_dependencies

# Ensure we are in the project root directory
if [[ ! -d "$PROJECT_ROOT" ]]; then
echo "❌ '$PROJECT_ROOT' directory not found. Please run this script from the parent directory of the project."
exit 1
fi
cd "$PROJECT_ROOT" || exit 1

run_data_processing
run_feature_engineering
run_model_training
Expand Down