Mlp, Time Series Forecasting, Data Science, Machine Learning, TensorFlow.
metode shift: train_gp = train.sort_values('date').groupby(['item', 'store', 'date'], as_index=False) train_gp = train_gp.agg({'sales':['mean']}) train_gp.columns = ['item', 'store', 'date', 'sales'] train_gp.head() Output: Selanjutnya, kita transformasi data menjadi bentuk time series. def