Skip to content

InfiniteWing/KDD-2017-Travel-Time-Prediction

Repository files navigation

#############################################################
#                                                           #
#    KDD 2017 Travel Time Prediction                        #
#    InfiniteWing@CCU                                       #
#    Result Mape = 0.1817                                   #
#    Rank = 13 / 3574                                       #
#                                                           #
#############################################################

File description
○ = Folder, ● = File

○ data ----------------------->    Training datasets and testing datasets    
○ prepared_data -------------->    Prepared datasets. Generated by code "time_data_pre.py" and "time_data_fix.py"
● time_data_pre.py ----------->    Generate prepared datasets
● time_data_fix.py ----------->    Remove the outliers
● time_predict.py ------------>    Generate final prediction

To get final prediction:
1. Run "time_data_pre.py"    ->    You will get the prepared datasets in Folder "prepared_data"
2. Run "time_data_fix.py"    ->    You will get the prepared datasets ( without outliers ) in Folder "prepared_data"
3. Run "time_predict.py"     ->    You will get the final travel time prediction ( file named "kdd2017_time_final.csv" )