ccao-data / model-res-avm

Automated valuation model for all class 200 residential properties in Cook County (except vacant land and condos)
GNU Affero General Public License v3.0
20 stars 3 forks source link

Improve cross-validation methodology #170

Closed dfsnow closed 5 months ago

dfsnow commented 5 months ago

This PR updates the rolling-origin/sliding window cross-validation methodology used to choose hyperparameters for the main model. Mainly, it adds a dedicated function to calculate sliding window resamples with the following improvements: