Getting geospatial data into ML models is hard. One reason for this is that there are few “canonical” sources for geospatial data at scale. Open Street Map (OSM) is understood as one such source for rideshare, but its potential in real estate use cases is largely unexplored. In this post we discuss some of the quality control/QC work we do to improve off-the-shelf OSM data and measure the impact of that work via a real estate pricing model benchmarking test.
Water features (rivers, lakes, ponds, reservoirs and almost everything in between!) are valuable to our partners, and we recently released a dataset with updates to these features.
We decided to make the update when we realized that there were a lot of water bodies missing from the OSM dataset during our quality checks. We spent a lot of time investigating and exploring the water features and realized that many water bodies were not fully tagged, or incorrectly tagged in our incoming dataset. As a result, we decided to invest in improving the quality of our water features data.
We expanded the range of tags that we considered as relevant features, started using regexes of water feature names and began actively excluding invalid or irrelevant features (a routine challenge with user-generated content!).
The final result was a water features dataset that covered far more of the smaller ponds and lakes that we were missing previously and also far fewer irrelevant water bodies.
The animation below compares water body coverage in the San Francisco Bay Area before and after the QC.
To give some examples of updates, many smaller water bodies have been added in the East Bay, in areas including Concord and Pleasanton. Also some of the river's polygons in the East Bay have been added back too. For our partners that include proximity to water in the models of home prices, they will now have a better representation of water features in that model.
After updating our features, we wanted to explore what kind of impact this had on a benchmark modeling task. We decided to test the impact on a real estate sales price prediction task using data from Pinellas County, FL. This is a dataset that we have used extensively in our internal benchmarking, and seems like a perfect dataset and task for this analysis as this part of the country has many many water bodies, and is surrounded on 3 sides by coastline. Therefore we hypothesized that there would be an improvement in model performance when trained on the updated features versus the original features.
As we suspected, our water feature update had a significant impact on machine learning model performance. Interestingly, while improvements maintained across model types, the magnitude of improvements varied by model type.
As you can see in Figure 3, all of the model types showed an improvement in performance when trained using the newly updated water features compared to using the original water features.
Here is an example of the input features that were used in one of the experiments:
The models were trained on a mixture of property metadata features and geospatial features, with an emphasis placed on the water features such as: `water_intersects_isochrone_walk_10m_True`, `river_intersects_isochrone_walk_10m_False`.
To be frank, we did not expect to see improvements of this magnitude so these results are very encouraging. We hope to continue to perform these kinds of analyses as we do further quality assurance and update other OSM features in our data.
Iggy is a toolkit for data teams. It is used by data scientists, analysts and machine learning engineers to understand and leverage data about place to build better models and user-facing products. Their flagship datasets and tools provide instant access to hundreds of geospatial features being used to improve location search, pricing and recommended homes/listing ML models, and develop unique customer-facing products. Iggy has been proven to quicken experimentation and time to value, and improve ML models and core products for industry-leading companies in the real estate, private equity and travel sectors. Dive into some demos and learn more about the product at https://github.com/askiggy/iggy-enrich-demos, check out our blog on improving Real Estate pricing models with location data at https://medium.com/@acocos/faster-experimentation-for-location-data-iggy-metaflow-c3dd40c4f5e4 or contact us at https://www.askiggy.com/contact
A company’s store locations reflect its overall site selection strategy. If your strategy is similar, look to them.
Sure, the food is important but who doesn't want to pair good food with an epic view? OpenTable now lets you do so!