389. M5 Forecasting - Uncertainty | m5-forecasting-uncertainty
首先,我要感谢 @muhakabartay 在每次比赛中不断激励我们进步。我们的解决方案基于 5 个不同的模型。
我们使用了以下内核中的预处理方法。
x = L.GRU(400, return_sequences=True, name="d1")(x)
x = L.Dropout(0.5)(x)
x = L.Concatenate(name="m1")([x, context])
x = L.GRU(400, return_sequences=True, name="d2")(x)
x = L.Dropout(0.5)(x)
x = L.Concatenate(name="m2")([x, context])
x = L.GRU(400, return_sequences=True, name="d3")(x)
preds = L.Dense(9, activation="linear", name="preds")(x)
model = M.Model(inp, preds, name="M1")
model.compile(loss=wqloss, optimizer="adam")
reduce_lr = ReduceLROnPlateau(monitor='val_loss', factor=0.2, patience=5, min_lr=0.001)
x = L.GRU(410, return_sequences=True, name="d1")(x)
x = L.Dropout(0.5)(x)
x = L.Concatenate(name="m1")([x, context])
x = L.GRU(410, return_sequences=True, name="d2")(x)
x = L.Dropout(0.5)(x)
x = L.Concatenate(name="m2")([x, context])
x = L.GRU(410, return_sequences=True, name="d3")(x)
preds = L.Dense(9, activation="linear", name="preds")(x)
model = M.Model(inp, preds, name="M1")
model.compile(loss=wqloss, optimizer="adam")
reduce_lr = ReduceLROnPlateau(monitor='val_loss', factor=0.2, patience=5, min_lr=0.01)
x = L.Concatenate(name="x1")([context, num])
x = L.Dense(500, activation="relu", name="d1")(x)
x = L.Dropout(0.2)(x) # 0.3
x = L.Concatenate(name="m1")([x, context])
x = L.Dense(500, activation="relu", name="d2")(x)
x = L.Dropout(0.2)(x) # 0.3
x = L.Concatenate(name="m2")([x, context])
x = L.Dense(500, activation="relu", name="d3")(x)
preds = L.Dense(9, activation="linear", name="preds")(x)
model = M.Model(inp, preds, name="M1")
model.compile(loss=qloss, optimizer="adam")
return model
reduce_lr = ReduceLROnPlateau(monitor='val_loss', factor=0.2,
patience=5, min_lr=0.001)
x = L.Concatenate(name="x1")([context, num])
x = L.Dense(400, activation="relu", name="d1")(x)
x = L.Dropout(0.25)(x) # 0.3
x = L.Concatenate(name="m1")([x, context])
x = L.Dense(400, activation="relu", name="d2")(x)
x = L.Dropout(0.25)(x) # 0.3
x = L.Concatenate(name="m2")([x, context])
x = L.Dense(400, activation="relu", name="d3")(x)
preds = L.Dense(9, activation="linear", name="preds")(x)
model = M.Model(inp, preds, name="M1")
model.compile(loss=qloss, optimizer="adam")
return model
reduce_lr = ReduceLROnPlateau(monitor='val_loss', factor=0.2,
patience=5, min_lr=0.01)