Buenos Aires & Mexico City Price Analysis
Proj2 builds regression models to predict apartment prices in Buenos Aires and Mexico City. The project progressively adds features and complexity across 4 lessons.
CSV files with apartment listings including size, location, and neighborhood.
Linear Regression, Ridge, Feature Engineering, OneHotEncoder
Mean Absolute Error (MAE), baseline comparison
| Lesson | Topic | Pipeline | Query |
|---|---|---|---|
| 2.1 | Price and Size | Size -> LinearRegression | "run lesson 2.1" |
| 2.2 | Price and Location | Lat/Lon -> Imputer + LinearRegression | "run lesson 2.2" |
| 2.3 | Price and Neighborhood | Neighborhood -> OneHotEncoder + Ridge | "run lesson 2.3" |
| 2.4 | Price and Everything | All Features -> Full Pipeline | "run lesson 2.4" |
| Tool | Description |
|---|---|
load_proj2_data |
Load Buenos Aires or Mexico City dataset |
analyze_real_estate |
Exploratory analysis with statistics |
predict_price |
Run price prediction pipeline |
wrangle_data |
Apply lesson-specific wrangling |
create_mapbox |
Visualize locations on interactive map |