How r0hankrishnan/idx-exchange-data-science works
This repository builds and serves pre-listing sale-price estimates for California single-family homes. The user workflow is to search for a sold home or enter its details, then view a Model C estimate, calibrated price ranges, comparable sales, and feature effects. Behind that are fixed cleaning and feature engineering, time-based model validation and fitted preprocessing, and final-model training and persistence. The README documents the broad workflow and app capabilities; some dashboard internals and feature/model implementation details were not sampled, so those links are limited to documented relationships.
Main entry points: dashboard.py Streamlit dashboard · features.py Feature table · serving.py Final model training · modeling.py Models and metrics
Components 17
Data preparation
- CRMLS sales data
- Fixed cleaning
src/idx_exchange_data_science/cleaning.py - Feature table
src/idx_exchange_data_science/features.py - School districts
src/idx_exchange_data_science/features.py - Comparable sales
src/idx_exchange_data_science/features.py
Model development
- Time splits
src/idx_exchange_data_science/splits.py - Fitted preprocessing
src/idx_exchange_data_science/preprocessing.py - Models and metrics
src/idx_exchange_data_science/modeling.py
Model serving
- Final model training
src/idx_exchange_data_science/serving.py - Data and model paths
src/idx_exchange_data_science/paths.py - Saved model
Home price app
- Streamlit dashboard
app/dashboard.py - Search or enter home
app/dashboard.py - Estimate and ranges
app/dashboard.py - Sales and comparables
app/dashboard.py - Feature effects
app/dashboard.py
Other components
- Home seeker
Connections 17
- Home seeker → Search or enter home: searches or enters
README.md - CRMLS sales data → Fixed cleaning: provides sales
README.md - Fixed cleaning → Feature table: prepares Dataset A
README.md - Feature table → School districts: adds district features
README.md - Feature table → Comparable sales: adds sales features
README.md - Feature table → Final model training: supplies feature table
src/idx_exchange_data_science/serving.py - Time splits → Models and metrics: defines validation folds
src/idx_exchange_data_science/modeling.py - Fitted preprocessing → Models and metrics: transforms training data
src/idx_exchange_data_science/modeling.py - Models and metrics → Final model training: provides model and scoring
src/idx_exchange_data_science/serving.py - Final model training → Data and model paths: uses model location
src/idx_exchange_data_science/serving.py - Final model training → Saved model: saves trained bundle
src/idx_exchange_data_science/serving.py - Search or enter home → Streamlit dashboard: dispatches app view
app/dashboard.py - Streamlit dashboard → Saved model: loads saved model
README.md - Streamlit dashboard → Feature table: loads or builds homes
README.md - Streamlit dashboard → Estimate and ranges: shows estimate and ranges
README.md - Streamlit dashboard → Sales and comparables: shows sale and comparables
README.md - Streamlit dashboard → Feature effects: shows feature effects
README.md