435. Indoor Location & Navigation | indoor-location-navigation
祝贺所有的获奖者,非常感谢主办方举办了如此有趣的比赛!我将分享我们的解决方案。

我们的数据集基于 indoor-unified-wifi-ds。主要的区别如下:

我们的模型基于 LSTM by Keras with Unified Wi-Fi Feats。由于该LSTM模型不是基于时间序列的,我们也使用了MLP模型。
使用的特征如下:
# timediff -> weight
timediff = df['timediff'].astype(np.float32).abs().values
weight = 1- (timediff/np.max(timediff))
class WeightedMSELoss(nn.Module):
def __init__(self):
super().__init__()
self.loss = nn.MSELoss(reduction='none')
def forward(self, input, target, weight):
input = input.float()
target = target.float()
weight = torch.stack((weight, weight), 1).float()
loss = self.loss(input, target) * weight
return loss.mean()
通过添加以下元素重新学习: