How zihan-hei/nyc_housing_aanlysis works
Project type and purpose
• This is a data‐analysis/ML project implemented as a single Jupyter notebook (NYC_Housing_Analysis.ipynb) with a supporting README.
• Purpose: analyze rental housing data (price, size, amenities, location, pet policy) to answer specific questions via regression, classification, aggregation, and mapping.
File structure
• Top‐level files:
• NYC_Housing_Analysis.ipynb – contains all code for data loading, cleaning, modeling, and visualization
• README.md – describes dataset source, attributes, and analytical questions
• No separate “frontend” or “backend” directories – it’s a linear analysis pipeline in one notebook.
• No deployment or service orchestration files.
README for additional insights
• Data source: UCI repository CSV from scraped listings
• Analytical objectives:
a. Linear regression (price vs. square footage)
b. Classification (affordable vs. unaffordable at \$1,100 threshold)
c. Count plots (# of 2-bed/1-bath < \$1,500)
d. Geospatial mapping of affordability
e. Logistic regression on pet ownership effect
• Tech stack (implied): Python, Pandas, scikit-learn, Matplotlib/Seaborn, Folium/GeoPandas.
Elements
– Clear component labels (Data Source, Ingestion, Preprocessing, etc.)
• Rectangles for processing modules (preprocessing, modeling)
• Parallelograms for input/output (plots, maps)
– Annotations on edges to show data formats (CSV → DataFrame → model input)