Skip to content

Instantly share code, notes, and snippets.

@john-adeojo
Created March 11, 2023 15:53
Show Gist options
  • Save john-adeojo/674786ecad222d795fdd15d878382b1a to your computer and use it in GitHub Desktop.
Save john-adeojo/674786ecad222d795fdd15d878382b1a to your computer and use it in GitHub Desktop.
exclude_train = ["year", "total_cases", "week_start_date", "city"]
exclude_test = ["year", "week_start_date", "city"]
dp = DataProcessor(
df_train=df,
df_test=test_features_df,
exclude_test=exclude_test,
exclude_train=exclude_train,
scaling = 'standardise',
iq_date_split = '2008-09-30',
sj_date_split = '2004-07-30'
)
train_df, validation_df, test_df = dp.process_data()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment