Last active
September 27, 2018 08:48
-
-
Save CaptainAshis/ac35a03f526e2483d6ad16f00c4b2a92 to your computer and use it in GitHub Desktop.
dt_feature81 ros fastai
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
# Step 12 | |
joined = pd.read_feather(f'{PATH_WRITE}joined') | |
joined_test = pd.read_feather(f'{PATH_WRITE}joined_test') | |
joined.head().T.head(40) | |
# Defining the categorical and continious variables | |
cat_vars = ['Store', 'DayOfWeek', 'Year', 'Month', 'Day', 'StateHoliday', 'CompetitionMonthsOpen', | |
'Promo2Weeks', 'StoreType', 'Assortment', 'PromoInterval', 'CompetitionOpenSinceYear', 'Promo2SinceYear', | |
'State', 'Week', 'Events', 'Promo_fw', 'Promo_bw', 'StateHoliday_fw', 'StateHoliday_bw', | |
'SchoolHoliday_fw', 'SchoolHoliday_bw'] | |
contin_vars = ['CompetitionDistance', 'Max_TemperatureC', 'Mean_TemperatureC', 'Min_TemperatureC', | |
'Max_Humidity', 'Mean_Humidity', 'Min_Humidity', 'Max_Wind_SpeedKm_h', | |
'Mean_Wind_SpeedKm_h', 'CloudCover', 'trend', 'trend_DE', | |
'AfterStateHoliday', 'BeforeStateHoliday', 'Promo', 'SchoolHoliday'] | |
n = len(joined); n | |
# 844338 | |
# 844338 number of rows present . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment