carissalow / rapids

Reproducible Analysis Pipeline for Data Streams
http://www.rapids.science/
GNU Affero General Public License v3.0
37 stars 20 forks source link

Add parameter for max speed threshold #230

Closed jenniferfedor closed 9 months ago

jenniferfedor commented 9 months ago

This PR adds a parameter to the phone locations Doryab provider that allows the user to exclude immediately prior to feature computation any rows of locations data with a calculated speed value greater than the specified threshold (e.g., some physically implausible value) in km/hr. The suggested default value is 250 km/hr (about 155 mph) which approximately corresponds to the max high-speed rail speed in the United States. This option can be disabled by setting the parameter to 0, in which case no rows of locations data will be excluded from feature computation on the basis of speed.