application_vnd.jupyter.stderr_output_1.png
import data_utils

import pandas as pd

import pandas as pd
import data_utils
holiday_df = pd.read_csv('../input/singapore-holiday/holiday.csv')
df = data_utils.sg_holiday_feature(holiday_df=holiday_df.copy(), startDate='20140101', endDate='20211231', holiday_dummy=False)
df, dist = data_utils.set_label(df=df, label_column='Holiday')
df = data_utils.get_date_dummy(df, date_column='DATE')
df.set_index('DATE', inplace=True)
df = df.drop(columns=['Day'])
df = df['2014-01-01':'2021-12-31']

train_data = data_utils.switch_y_column(df=df.copy(), column_name='Holiday')
X_train_seq, y_train_seq, X_val_seq, y_val_seq = data_utils.split_sequence(train_data.values, look_back=look_back, look_forward=look_forward, split_val=True, print_shape=True)
n_features = X_train_seq.shape[2]