-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdata_preprocessing.py
More file actions
25 lines (16 loc) · 1.15 KB
/
data_preprocessing.py
File metadata and controls
25 lines (16 loc) · 1.15 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
from data_utilities import *
def main():
# Preprocess NYC taxi trip multivariate dataset
process_taxi_trip_multivariate_data(800, 800) # arguments represent intervals for latitude and longitude respectively in the grid
# Preprocess NYC taxi trip univariate dataset
process_taxi_trip_univariate_data(800, 800) # arguments represent intervals for latitude and longitude respectively in the grid
# Preprocess Washington King county home sales multivariate dataset
process_home_sales_multivariate_data(1616, 1616) # arguments represent intervals for latitude and longitude respectively in the grid
# Preprocess Chicago abandoned cars univariate dataset
process_vehicles_univariate_data(-433, 800) # arguments represent intervals for latitude and longitude respectively in the grid
# Preprocess NYC earning multivariate dataset
process_earning_multivariate_data(1025, 700) # arguments represent intervals for latitude and longitude respectively in the grid
# Preprocess NYC earning univariate dataset
process_earning_univariate_data(1025, 700) # arguments represent intervals for latitude and longitude respectively in the grid
if __name__ == "__main__":
main()