-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into quick_fix
- Loading branch information
Showing
38 changed files
with
2,057 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# City name | ||
city: Los Angeles, CA, USA | ||
# City centerpoint latitude & longitude (default geocoded values set) | ||
city_latitude: 34.0522 | ||
city_longitude: -118.2437 | ||
|
||
# City's time zone: defaults to the local time zone of computer initializing the city's config file | ||
timezone: America/Los_Angeles | ||
# Radius of city's road network from centerpoint in km, required if OSM has no polygon data (defaults to 20km) | ||
city_radius: 50 | ||
|
||
# The folder under data where this city's data is stored | ||
name: losangeles | ||
|
||
# If given, limit crashes to after startdate and no later than enddate | ||
# Recommended to limit to just a few years for now | ||
startdate: 1/1/2016 | ||
enddate: | ||
|
||
# The type of predictions to generate, 'segment' is default, 'week' is legacy | ||
level: 'segment' | ||
|
||
################################################################# | ||
# Configuration for data standardization | ||
|
||
# crash file configurations | ||
crashes_files: | ||
LA_TrafficData.csv: | ||
required: | ||
id: ID | ||
latitude: Latitude | ||
longitude: Longitude | ||
# If date supplied in single column: | ||
date_complete: Date | ||
# If date is separated into year/month/day: | ||
date_year: | ||
date_month: | ||
# Leave date_day empty if not available | ||
date_day: | ||
# If time is available and separate from date: | ||
time: Time | ||
# If time specified, time_format is one of: | ||
# default (HH:MM:SS) | ||
# seconds (since midnight) | ||
# military (HHMM) | ||
time_format: military | ||
optional: | ||
summary: | ||
# If the crash file doesn't have a lat/lon, you must give the address field | ||
# and you will need to run the geocode_batch script - see the README | ||
address: Address | ||
vehicles: | ||
bikes: | ||
|
||
# If using legacy 'week' predictions: | ||
# specify year & week on which to predict crashes (best practice is year & week towards the end of your crash data set | ||
# in format [month, year] | ||
time_target: [30, 2017] | ||
# specify how many weeks back to predict in output of train_model | ||
weeks_back: 1 | ||
|
||
################################################################# | ||
# Configuration for default features | ||
|
||
# Default features from open street map. You can remove features you don't want | ||
# Note: we don't support adding features in the config file. | ||
# If there is an additional feature you want from open street map, contact the development team | ||
openstreetmap_features: | ||
categorical: | ||
width: Width | ||
cycleway_type: Bike lane | ||
signal: Signal | ||
oneway: One Way | ||
lanes: Number of lanes | ||
continuous: | ||
width_per_lane: Average width per lane | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.