-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparams.yaml
More file actions
67 lines (67 loc) · 2.08 KB
/
params.yaml
File metadata and controls
67 lines (67 loc) · 2.08 KB
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
---
config:
'2019':
time_period_start: '2019-01-01'
time_period_end: '2019-12-31'
# The distance, in meters, that a crash must be within to a node in the street
# network for the node to be considered for attribution.
crash_threshold_dist_m: 100
# Same as the above, but for pairing Citibike start and end points with nodes
trip_threshold_dist_m: 100
# The clipping boundary used to generate the base map. See
# data_processing/00_create_map.py for a definition of the available values for
# this
map_clipping_boundary: mnh_below_34th
# The number of trips to sample from the overall trip dataset when computing
# routes
trip_sample_size: 100_000
# Random state to use for random things
random_state: 42
# Ratios to use for generating training data. Must sum to 1
train_ratio: 0.6
validation_ratio: 0.2
test_ratio: 0.2
'2020':
time_period_start: '2020-01-01'
time_period_end: '2020-12-31'
crash_threshold_dist_m: 100
trip_threshold_dist_m: 100
map_clipping_boundary: mnh_below_34th
trip_sample_size: 100_000
random_state: 42
train_ratio: 0.6
validation_ratio: 0.2
test_ratio: 0.2
'2021':
time_period_start: '2021-01-01'
time_period_end: '2021-11-01'
crash_threshold_dist_m: 100
trip_threshold_dist_m: 100
map_clipping_boundary: mnh_below_34th
trip_sample_size: 10_000
random_state: 42
train_ratio: 0.6
validation_ratio: 0.2
test_ratio: 0.2
'2019_thru_2021':
time_period_start: '2019-01-01'
time_period_end: '2021-11-01'
crash_threshold_dist_m: 100
trip_threshold_dist_m: 100
map_clipping_boundary: mnh_below_34th
trip_sample_size: 1_000_000
random_state: 42
train_ratio: 0.6
validation_ratio: 0.2
test_ratio: 0.2
'2019_thru_2021_all_mnh':
time_period_start: '2019-01-01'
time_period_end: '2021-11-01'
crash_threshold_dist_m: 100
trip_threshold_dist_m: 100
map_clipping_boundary: mnh
trip_sample_size: 1_000_000
random_state: 42
train_ratio: 0.6
validation_ratio: 0.2
test_ratio: 0.2