-
Notifications
You must be signed in to change notification settings - Fork 5
/
dvc.lock
executable file
·1128 lines (1128 loc) · 34.9 KB
/
dvc.lock
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
schema: '2.0'
stages:
ingest:
cmd: Rscript pipeline/00-ingest.R
deps:
- path: pipeline/00-ingest.R
hash: md5
md5: c04f9224e873b1ee29a64fa68aa6c8d9
size: 23355
params:
params.yaml:
assessment:
year: '2024'
date: '2024-01-01'
triad: city
group: residential
data_year: '2023'
working_year: '2024'
input:
min_sale_year: '2015'
max_sale_year: '2023'
n_years_prior: 4
complex:
match_exact:
- meta_township_code
- meta_class
- char_bsmt
- char_gar1_size
- char_attic_fnsh
- char_beds
- meta_pin_num_cards
- meta_tieback_proration_rate
match_fuzzy:
rooms: 1
bldg_sf: 25
yrblt: 4
dist_ft: 250
outs:
- path: input/assessment_data.parquet
hash: md5
md5: c5c5b10a62f815a8b47de9101424dea6
size: 309845333
- path: input/char_data.parquet
hash: md5
md5: 95b41b06f03b055c8f1ba77bf80c8d30
size: 616908148
- path: input/complex_id_data.parquet
hash: md5
md5: d0b2c6cb1dbf8ae90de2ccee2e99568d
size: 702334
- path: input/hie_data.parquet
hash: md5
md5: 675edaaee68b015e15a9d753a3531124
size: 1924257
- path: input/land_nbhd_rate_data.parquet
hash: md5
md5: e508daf5790982c303d6503fe1cb8e2b
size: 4413
- path: input/land_site_rate_data.parquet
md5: 7c6d3de25d8ec0d523e2ffd8f7b4e542
size: 2109
- path: input/training_data.parquet
hash: md5
md5: 787d2c901d1d957b87ecaee83663e8e5
size: 163303649
train:
cmd: Rscript pipeline/01-train.R
deps:
- path: pipeline/01-train.R
hash: md5
md5: 46115d48cf066d35b0db14dc13a8d9b3
size: 17448
- path: input/training_data.parquet
hash: md5
md5: 680e07bdb2a55166b7070155c4ff5a38
size: 148069926
params:
params.yaml:
cv:
split_prop: 0.9
num_folds: 5
initial_set: 20
max_iterations: 50
no_improve: 15
uncertain: 8
best_metric: rmse
input.time_split: 15
model.engine: lightgbm
model.hyperparameter:
default:
num_iterations: 1575
learning_rate: 0.015
max_bin: 512
num_leaves: 185
add_to_linked_depth: 4
feature_fraction: 0.61
min_gain_to_split: 75.5
min_data_in_leaf: 31
max_cat_threshold: 165
min_data_per_group: 300
cat_smooth: 82.0
cat_l2: 1.0
lambda_l1: 0.022
lambda_l2: 0.152
range:
num_iterations:
- 40
- 2500
learning_rate:
- -3.0
- -0.4
max_bin:
- 50
- 512
num_leaves:
- 32
- 2048
add_to_linked_depth:
- 1
- 7
feature_fraction:
- 0.3
- 0.7
min_gain_to_split:
- -3.0
- 4.0
min_data_in_leaf:
- 2
- 400
max_cat_threshold:
- 10
- 250
min_data_per_group:
- 2
- 400
cat_smooth:
- 10.0
- 200.0
cat_l2:
- -3
- 2
lambda_l1:
- -3
- 2
lambda_l2:
- -3
- 2
model.objective: rmse
model.parameter:
validation_prop: 0.1
validation_type: random
validation_metric: rmse
link_max_depth: true
stop_iter: 40
model.predictor:
all:
- meta_township_code
- meta_nbhd_code
- meta_modeling_group
- meta_tieback_proration_rate
- char_yrblt
- char_air
- char_apts
- char_attic_fnsh
- char_attic_type
- char_beds
- char_bldg_sf
- char_bsmt
- char_bsmt_fin
- char_ext_wall
- char_fbath
- char_frpl
- char_gar1_area
- char_gar1_att
- char_gar1_cnst
- char_gar1_size
- char_hbath
- char_land_sf
- char_heat
- char_ncu
- char_porch
- char_roof_cnst
- char_rooms
- char_tp_dsgn
- char_tp_plan
- char_type_resd
- char_recent_renovation
- loc_longitude
- loc_latitude
- loc_env_flood_fema_sfha
- loc_env_flood_fs_factor
- loc_env_flood_fs_risk_direction
- loc_env_airport_noise_dnl
- loc_school_elementary_district_geoid
- loc_school_secondary_district_geoid
- loc_access_cmap_walk_nta_score
- loc_access_cmap_walk_total_score
- loc_tax_municipality_name
- prox_num_pin_in_half_mile
- prox_num_bus_stop_in_half_mile
- prox_num_foreclosure_per_1000_pin_past_5_years
- prox_num_school_in_half_mile
- prox_num_school_with_rating_in_half_mile
- prox_avg_school_rating_in_half_mile
- prox_airport_dnl_total
- prox_nearest_bike_trail_dist_ft
- prox_nearest_cemetery_dist_ft
- prox_nearest_cta_route_dist_ft
- prox_nearest_cta_stop_dist_ft
- prox_nearest_hospital_dist_ft
- prox_lake_michigan_dist_ft
- prox_nearest_major_road_dist_ft
- prox_nearest_metra_route_dist_ft
- prox_nearest_metra_stop_dist_ft
- prox_nearest_park_dist_ft
- prox_nearest_railroad_dist_ft
- prox_nearest_secondary_road_dist_ft
- prox_nearest_water_dist_ft
- prox_nearest_golf_course_dist_ft
- acs5_percent_age_children
- acs5_percent_age_senior
- acs5_median_age_total
- acs5_percent_mobility_no_move
- acs5_percent_mobility_moved_from_other_state
- acs5_percent_household_family_married
- acs5_percent_household_nonfamily_alone
- acs5_percent_education_high_school
- acs5_percent_education_bachelor
- acs5_percent_education_graduate
- acs5_percent_income_below_poverty_level
- acs5_median_income_household_past_year
- acs5_median_income_per_capita_past_year
- acs5_percent_income_household_received_snap_past_year
- acs5_percent_employment_unemployed
- acs5_median_household_total_occupied_year_built
- acs5_median_household_renter_occupied_gross_rent
- acs5_percent_household_owner_occupied
- acs5_percent_household_total_occupied_w_sel_cond
- acs5_percent_mobility_moved_in_county
- other_tax_bill_rate
- other_school_district_elementary_avg_rating
- other_school_district_secondary_avg_rating
- ccao_is_corner_lot
- time_sale_year
- time_sale_day
- time_sale_quarter_of_year
- time_sale_month_of_year
- time_sale_day_of_year
- time_sale_day_of_month
- time_sale_day_of_week
- time_sale_post_covid
categorical:
- meta_township_code
- meta_nbhd_code
- meta_modeling_group
- char_air
- char_apts
- char_attic_fnsh
- char_attic_type
- char_bsmt
- char_bsmt_fin
- char_ext_wall
- char_gar1_area
- char_gar1_att
- char_gar1_cnst
- char_gar1_size
- char_heat
- char_porch
- char_roof_cnst
- char_tp_dsgn
- char_tp_plan
- char_type_resd
- loc_tax_municipality_name
- loc_school_elementary_district_geoid
- loc_school_secondary_district_geoid
- time_sale_quarter_of_year
id:
- meta_year
- meta_pin
- meta_class
- meta_card_num
- meta_sale_document_num
model.seed: 2024
model.verbose: -1
ratio_study:
far_year: '2021'
far_stage: board
far_column: meta_2yr_pri_board_tot
near_year: '2023'
near_stage: certified
near_column: meta_certified_tot
min_n_sales: 30
num_quantile:
- 3
- 5
- 10
geographies:
- meta_township_code
- meta_nbhd_code
- loc_tax_municipality_name
- loc_ward_num
- loc_census_puma_geoid
- loc_census_tract_geoid
- loc_school_elementary_district_geoid
- loc_school_secondary_district_geoid
- loc_school_unified_district_geoid
pins:
- '13253180150000'
- '17321110470000'
- '05174150240000'
toggle.cv_enable: false
outs:
- path: output/intermediate/timing/model_timing_train.parquet
hash: md5
md5: 98fae7af31e3fee9e5ba6281c2201ed9
size: 2872
- path: output/parameter_final/model_parameter_final.parquet
hash: md5
md5: fd6a04559a01ec21417ded57ce680f17
size: 8516
- path: output/parameter_range/model_parameter_range.parquet
hash: md5
md5: 3b2015c65992cfcc2a46b1c029d62212
size: 501
- path: output/parameter_search/model_parameter_search.parquet
hash: md5
md5: 3b2015c65992cfcc2a46b1c029d62212
size: 501
- path: output/test_card/model_test_card.parquet
hash: md5
md5: a115c5d7c95f31e8440f8881ca45a144
size: 2075102
- path: output/workflow/fit/model_workflow_fit.zip
hash: md5
md5: 9c53eaf3b76c70369107fc259fd29dff
size: 11141014
- path: output/workflow/recipe/model_workflow_recipe.rds
hash: md5
md5: d3596ea1b3054ac3cead76d8f4d1a8d7
size: 1802847
assess:
cmd: Rscript pipeline/02-assess.R
deps:
- path: pipeline/02-assess.R
hash: md5
md5: 5e8c9b7d547ea41d9ec9441465e6e275
size: 22749
- path: input/assessment_data.parquet
hash: md5
md5: 5450bfd412c9b552a1a2722b04e49706
size: 321478392
- path: input/complex_id_data.parquet
hash: md5
md5: 0750adcada3da73f409d50370d02bce2
size: 726049
- path: input/land_nbhd_rate_data.parquet
hash: md5
md5: a082573c6bd6a0d9ef0d2b1ac621cb4e
size: 4410
- path: input/land_site_rate_data.parquet
hash: md5
md5: 7c6d3de25d8ec0d523e2ffd8f7b4e542
size: 2109
- path: input/training_data.parquet
hash: md5
md5: 680e07bdb2a55166b7070155c4ff5a38
size: 148069926
- path: output/workflow/fit/model_workflow_fit.zip
hash: md5
md5: 9c53eaf3b76c70369107fc259fd29dff
size: 11141014
- path: output/workflow/recipe/model_workflow_recipe.rds
hash: md5
md5: d3596ea1b3054ac3cead76d8f4d1a8d7
size: 1802847
params:
params.yaml:
assessment:
year: '2024'
date: '2023-10-01'
triad: city
group: residential
data_year: '2023'
working_year: '2024'
model.predictor.all:
- meta_township_code
- meta_nbhd_code
- meta_modeling_group
- meta_tieback_proration_rate
- char_yrblt
- char_air
- char_apts
- char_attic_fnsh
- char_attic_type
- char_beds
- char_bldg_sf
- char_bsmt
- char_bsmt_fin
- char_ext_wall
- char_fbath
- char_frpl
- char_gar1_area
- char_gar1_att
- char_gar1_cnst
- char_gar1_size
- char_hbath
- char_land_sf
- char_heat
- char_ncu
- char_porch
- char_roof_cnst
- char_rooms
- char_tp_dsgn
- char_tp_plan
- char_type_resd
- char_recent_renovation
- loc_longitude
- loc_latitude
- loc_env_flood_fema_sfha
- loc_env_flood_fs_factor
- loc_env_flood_fs_risk_direction
- loc_env_airport_noise_dnl
- loc_school_elementary_district_geoid
- loc_school_secondary_district_geoid
- loc_access_cmap_walk_nta_score
- loc_access_cmap_walk_total_score
- loc_tax_municipality_name
- prox_num_pin_in_half_mile
- prox_num_bus_stop_in_half_mile
- prox_num_foreclosure_per_1000_pin_past_5_years
- prox_num_school_in_half_mile
- prox_num_school_with_rating_in_half_mile
- prox_avg_school_rating_in_half_mile
- prox_airport_dnl_total
- prox_nearest_bike_trail_dist_ft
- prox_nearest_cemetery_dist_ft
- prox_nearest_cta_route_dist_ft
- prox_nearest_cta_stop_dist_ft
- prox_nearest_hospital_dist_ft
- prox_lake_michigan_dist_ft
- prox_nearest_major_road_dist_ft
- prox_nearest_metra_route_dist_ft
- prox_nearest_metra_stop_dist_ft
- prox_nearest_park_dist_ft
- prox_nearest_railroad_dist_ft
- prox_nearest_secondary_road_dist_ft
- prox_nearest_water_dist_ft
- prox_nearest_golf_course_dist_ft
- acs5_percent_age_children
- acs5_percent_age_senior
- acs5_median_age_total
- acs5_percent_mobility_no_move
- acs5_percent_mobility_moved_from_other_state
- acs5_percent_household_family_married
- acs5_percent_household_nonfamily_alone
- acs5_percent_education_high_school
- acs5_percent_education_bachelor
- acs5_percent_education_graduate
- acs5_percent_income_below_poverty_level
- acs5_median_income_household_past_year
- acs5_median_income_per_capita_past_year
- acs5_percent_income_household_received_snap_past_year
- acs5_percent_employment_unemployed
- acs5_median_household_total_occupied_year_built
- acs5_median_household_renter_occupied_gross_rent
- acs5_percent_household_owner_occupied
- acs5_percent_household_total_occupied_w_sel_cond
- acs5_percent_mobility_moved_in_county
- other_tax_bill_rate
- other_school_district_elementary_avg_rating
- other_school_district_secondary_avg_rating
- ccao_is_corner_lot
- time_sale_year
- time_sale_day
- time_sale_quarter_of_year
- time_sale_month_of_year
- time_sale_day_of_year
- time_sale_day_of_month
- time_sale_day_of_week
- time_sale_post_covid
pv:
multicard_yoy_cap: 2.2
land_pct_of_total_cap: 0.5
round_break:
- 1000
- 10000
- 100000
round_to_nearest:
- 1
- 500
- 5000
- 10000
round_type: floor
ratio_study:
far_year: '2021'
far_stage: board
far_column: meta_2yr_pri_board_tot
near_year: '2023'
near_stage: certified
near_column: meta_certified_tot
min_n_sales: 30
num_quantile:
- 3
- 5
- 10
geographies:
- meta_township_code
- meta_nbhd_code
- loc_tax_municipality_name
- loc_ward_num
- loc_census_puma_geoid
- loc_census_tract_geoid
- loc_school_elementary_district_geoid
- loc_school_secondary_district_geoid
- loc_school_unified_district_geoid
pins:
- '13253180150000'
- '17321110470000'
- '05174150240000'
outs:
- path: output/assessment_card/model_assessment_card.parquet
hash: md5
md5: 2068abab92c9f74e049f355864a2b005
size: 235011990
- path: output/assessment_pin/model_assessment_pin.parquet
hash: md5
md5: bb885fba9bc014d9f78d58ba5f693251
size: 116811510
- path: output/intermediate/timing/model_timing_assess.parquet
hash: md5
md5: 600d92b0095f6cb4eccba026f2048144
size: 2879
evaluate:
cmd: Rscript pipeline/03-evaluate.R
deps:
- path: pipeline/03-evaluate.R
hash: md5
md5: d33c8e642e5e29a0683463ce885771f8
size: 16292
- path: output/assessment_pin/model_assessment_pin.parquet
hash: md5
md5: f5641cb4506847814181996692064b6e
size: 89391907
- path: output/test_card/model_test_card.parquet
hash: md5
md5: 7387bf631a89e7019f464a82bad4ca57
size: 1837208
params:
params.yaml:
assessment.data_year: '2022'
ratio_study:
far_year: '2020'
far_stage: board
far_column: meta_2yr_pri_board_tot
near_year: '2022'
near_stage: certified
near_column: meta_certified_tot
min_n_sales: 30
num_quantile:
- 3
- 5
- 10
geographies:
- meta_township_code
- meta_nbhd_code
- loc_tax_municipality_name
- loc_ward_num
- loc_census_puma_geoid
- loc_census_tract_geoid
- loc_school_elementary_district_geoid
- loc_school_secondary_district_geoid
- loc_school_unified_district_geoid
outs:
- path: output/intermediate/timing/model_timing_evaluate.parquet
hash: md5
md5: e16336c33032e94c91d6ee9ea2920017
size: 2907
- path: output/performance/model_performance_assessment.parquet
hash: md5
md5: 124e17d2c3beb4dacd2a9397cd37b39a
size: 1250405
- path: output/performance/model_performance_test.parquet
hash: md5
md5: aed3bdb494181033531cd65e0e38f254
size: 8627526
- path: output/performance_quantile/model_performance_quantile_assessment.parquet
hash: md5
md5: 86ff5a27131e9305ac0637997c11a17a
size: 2957
- path: output/performance_quantile/model_performance_quantile_test.parquet
hash: md5
md5: 4b3077c37b8add72f823864c596e7f35
size: 4803385
interpret:
cmd: Rscript pipeline/04-interpret.R
deps:
- path: pipeline/04-interpret.R
hash: md5
md5: 1cc57c0bcdaf2725fa343c6d88c1592c
size: 9619
- path: input/assessment_data.parquet
hash: md5
md5: 582a6197429e99ee24271a3d4f9e9323
size: 83202423
- path: output/workflow/fit/model_workflow_fit.zip
hash: md5
md5: 2b5b209f96c29217a62907a656793c84
size: 1591741
- path: output/workflow/recipe/model_workflow_recipe.rds
hash: md5
md5: 6365fd821ed4322bd2181e6996cbbe6e
size: 1863122
params:
params.yaml:
model.predictor.all:
- meta_township_code
- meta_nbhd_code
- meta_modeling_group
- meta_tieback_proration_rate
- char_yrblt
- char_air
- char_apts
- char_attic_fnsh
- char_attic_type
- char_beds
- char_bldg_sf
- char_bsmt
- char_bsmt_fin
- char_ext_wall
- char_fbath
- char_frpl
- char_gar1_area
- char_gar1_att
- char_gar1_cnst
- char_gar1_size
- char_hbath
- char_land_sf
- char_heat
- char_ncu
- char_porch
- char_roof_cnst
- char_rooms
- char_tp_dsgn
- char_tp_plan
- char_type_resd
- char_recent_renovation
- loc_longitude
- loc_latitude
- loc_env_flood_fema_sfha
- loc_env_flood_fs_factor
- loc_env_flood_fs_risk_direction
- loc_env_airport_noise_dnl
- loc_school_elementary_district_geoid
- loc_school_secondary_district_geoid
- loc_access_cmap_walk_nta_score
- loc_access_cmap_walk_total_score
- loc_tax_municipality_name
- prox_num_pin_in_half_mile
- prox_num_bus_stop_in_half_mile
- prox_num_foreclosure_per_1000_pin_past_5_years
- prox_num_school_in_half_mile
- prox_num_school_with_rating_in_half_mile
- prox_avg_school_rating_in_half_mile
- prox_nearest_bike_trail_dist_ft
- prox_nearest_cemetery_dist_ft
- prox_nearest_cta_route_dist_ft
- prox_nearest_cta_stop_dist_ft
- prox_nearest_hospital_dist_ft
- prox_lake_michigan_dist_ft
- prox_nearest_major_road_dist_ft
- prox_nearest_metra_route_dist_ft
- prox_nearest_metra_stop_dist_ft
- prox_nearest_park_dist_ft
- prox_nearest_railroad_dist_ft
- prox_nearest_water_dist_ft
- prox_nearest_golf_course_dist_ft
- acs5_percent_age_children
- acs5_percent_age_senior
- acs5_median_age_total
- acs5_percent_mobility_no_move
- acs5_percent_mobility_moved_from_other_state
- acs5_percent_household_family_married
- acs5_percent_household_nonfamily_alone
- acs5_percent_education_high_school
- acs5_percent_education_bachelor
- acs5_percent_education_graduate
- acs5_percent_income_below_poverty_level
- acs5_median_income_household_past_year
- acs5_median_income_per_capita_past_year
- acs5_percent_income_household_received_snap_past_year
- acs5_percent_employment_unemployed
- acs5_median_household_total_occupied_year_built
- acs5_median_household_renter_occupied_gross_rent
- acs5_percent_household_owner_occupied
- acs5_percent_household_total_occupied_w_sel_cond
- acs5_percent_mobility_moved_in_county
- other_tax_bill_rate
- other_school_district_elementary_avg_rating
- other_school_district_secondary_avg_rating
- time_sale_year
- time_sale_day
- time_sale_quarter_of_year
- time_sale_month_of_year
- time_sale_day_of_year
- time_sale_day_of_month
- time_sale_day_of_week
- time_sale_post_covid
outs:
- path: output/feature_importance/model_feature_importance.parquet
hash: md5
md5: 05cfd51dc2c5e9a52a8647c3fb9ccc3b
size: 9405
- path: output/intermediate/timing/model_timing_interpret.parquet
hash: md5
md5: 25cedf31c13aff7948f5ce29e951deea
size: 2914
- path: output/shap/model_shap.parquet
hash: md5
md5: 3b2015c65992cfcc2a46b1c029d62212
size: 501
finalize:
cmd: Rscript pipeline/05-finalize.R
deps:
- path: pipeline/05-finalize.R
hash: md5
md5: 5c5a5100ebae2013bc24e8f9333d136b
size: 8762
- path: output/intermediate/timing/model_timing_assess.parquet
hash: md5
md5: 5f93cb109c073d91a9c9b55b3a56755b
size: 2879
- path: output/intermediate/timing/model_timing_evaluate.parquet
hash: md5
md5: e16336c33032e94c91d6ee9ea2920017
size: 2907
- path: output/intermediate/timing/model_timing_interpret.parquet
hash: md5
md5: 25cedf31c13aff7948f5ce29e951deea
size: 2914
- path: output/intermediate/timing/model_timing_train.parquet
hash: md5
md5: 7f02eeef83ef3f304af6818101023cff
size: 2872
params:
params.yaml:
cv:
split_prop: 0.9
initial_set: 25
max_iterations: 70
no_improve: 30
best_metric: rmse
input:
min_sale_year: '2014'
max_sale_year: '2022'
time_split: 15
complex:
match_exact:
- meta_township_code
- meta_class
- char_bsmt
- char_gar1_size
- char_attic_fnsh
- char_beds
- meta_pin_num_cards
- meta_tieback_proration_rate
match_fuzzy:
rooms: 1
bldg_sf: 25
yrblt: 4
dist_ft: 250
model:
engine: lightgbm
objective: rmse
seed: 2023
deterministic: true
force_row_wise: true
verbose: -1
predictor:
all:
- meta_township_code
- meta_nbhd_code
- meta_modeling_group
- meta_tieback_proration_rate
- char_yrblt
- char_air
- char_apts
- char_attic_fnsh
- char_attic_type
- char_beds
- char_bldg_sf
- char_bsmt
- char_bsmt_fin
- char_ext_wall
- char_fbath
- char_frpl
- char_gar1_area
- char_gar1_att
- char_gar1_cnst
- char_gar1_size
- char_hbath
- char_land_sf
- char_heat
- char_ncu
- char_porch
- char_roof_cnst
- char_rooms
- char_tp_dsgn
- char_tp_plan
- char_type_resd
- char_recent_renovation
- loc_longitude
- loc_latitude
- loc_env_flood_fema_sfha
- loc_env_flood_fs_factor
- loc_env_flood_fs_risk_direction
- loc_env_airport_noise_dnl
- loc_school_elementary_district_geoid
- loc_school_secondary_district_geoid
- loc_access_cmap_walk_nta_score
- loc_access_cmap_walk_total_score
- loc_tax_municipality_name
- prox_num_pin_in_half_mile
- prox_num_bus_stop_in_half_mile
- prox_num_foreclosure_per_1000_pin_past_5_years
- prox_num_school_in_half_mile
- prox_num_school_with_rating_in_half_mile
- prox_avg_school_rating_in_half_mile
- prox_nearest_bike_trail_dist_ft
- prox_nearest_cemetery_dist_ft
- prox_nearest_cta_route_dist_ft
- prox_nearest_cta_stop_dist_ft
- prox_nearest_hospital_dist_ft
- prox_lake_michigan_dist_ft
- prox_nearest_major_road_dist_ft
- prox_nearest_metra_route_dist_ft
- prox_nearest_metra_stop_dist_ft
- prox_nearest_park_dist_ft
- prox_nearest_railroad_dist_ft
- prox_nearest_water_dist_ft
- prox_nearest_golf_course_dist_ft
- acs5_percent_age_children
- acs5_percent_age_senior
- acs5_median_age_total
- acs5_percent_mobility_no_move
- acs5_percent_mobility_moved_from_other_state
- acs5_percent_household_family_married
- acs5_percent_household_nonfamily_alone
- acs5_percent_education_high_school
- acs5_percent_education_bachelor
- acs5_percent_education_graduate
- acs5_percent_income_below_poverty_level
- acs5_median_income_household_past_year
- acs5_median_income_per_capita_past_year
- acs5_percent_income_household_received_snap_past_year
- acs5_percent_employment_unemployed
- acs5_median_household_total_occupied_year_built
- acs5_median_household_renter_occupied_gross_rent
- acs5_percent_household_owner_occupied
- acs5_percent_household_total_occupied_w_sel_cond
- acs5_percent_mobility_moved_in_county
- other_tax_bill_rate
- other_school_district_elementary_avg_rating
- other_school_district_secondary_avg_rating
- time_sale_year
- time_sale_day
- time_sale_quarter_of_year
- time_sale_month_of_year
- time_sale_day_of_year
- time_sale_day_of_month
- time_sale_day_of_week
- time_sale_post_covid
categorical:
- meta_township_code
- meta_nbhd_code
- meta_modeling_group
- char_air
- char_apts
- char_attic_fnsh
- char_attic_type
- char_bsmt
- char_bsmt_fin
- char_ext_wall
- char_gar1_area
- char_gar1_att
- char_gar1_cnst
- char_gar1_size
- char_heat
- char_porch
- char_roof_cnst
- char_tp_dsgn
- char_tp_plan
- char_type_resd
- loc_tax_municipality_name
- loc_school_elementary_district_geoid
- loc_school_secondary_district_geoid
- time_sale_quarter_of_year
id:
- meta_year
- meta_pin
- meta_class
- meta_card_num
- meta_sale_document_num
parameter:
num_iterations: 200
learning_rate: 0.1
validation_prop: 0.1
validation_type: recent
validation_metric: rmse
link_max_depth: true
max_bin: 128
stop_iter: 40
hyperparameter:
default:
num_leaves: 200
add_to_linked_depth: 4
feature_fraction: 0.475
min_gain_to_split: 5.5
min_data_in_leaf: 4
max_cat_threshold: 200
min_data_per_group: 75
cat_smooth: 40.0
cat_l2: 1.0
lambda_l1: 0.124
lambda_l2: 1.655
range:
num_leaves:
- 50
- 2000
add_to_linked_depth:
- 1
- 7
feature_fraction:
- 0.3
- 0.7
min_gain_to_split:
- -3.0
- 4
min_data_in_leaf:
- 2
- 300
max_cat_threshold:
- 10
- 250
min_data_per_group:
- 4
- 300
cat_smooth:
- 10.0
- 200.0
cat_l2:
- -3
- 2
lambda_l1:
- -3
- 2
lambda_l2:
- -3
- 2
pv:
multicard_yoy_cap: 2.2
land_pct_of_total_cap: 0.5
round_break:
- 1000
- 10000
- 100000
round_to_nearest:
- 1
- 500
- 5000
- 10000
round_type: floor
ratio_study:
far_year: '2020'
far_stage: board
far_column: meta_2yr_pri_board_tot
near_year: '2022'
near_stage: certified
near_column: meta_certified_tot
min_n_sales: 30
num_quantile:
- 3
- 5
- 10
geographies:
- meta_township_code
- meta_nbhd_code
- loc_tax_municipality_name
- loc_ward_num
- loc_census_puma_geoid
- loc_census_tract_geoid
- loc_school_elementary_district_geoid
- loc_school_secondary_district_geoid
- loc_school_unified_district_geoid
run_note: "Test run for updated 2024 model pipeline. Uses 2022 data to assess\
\ 2023\nsince full 2023 data isn't available yet\n"
toggle:
cv_enable: false
shap_enable: false
upload_enable: false
outs: