【问题标题】:Losses for LSTM autoencoderLSTM 自动编码器的损失
【发布时间】:2018-07-05 08:28:13
【问题描述】:

LSTM 自动编码器有哪些损失选择? 除了均方误差 (MSE),还有可能使用其他方法吗? 如果是,您能否将我链接到 keras(tf 后端)实现或为我提供一个? 提前致谢。

【问题讨论】:

    标签: neural-network deep-learning keras lstm autoencoder


    【解决方案1】:

    如果数据集高度不平衡,建议使用“Median frequency class weighting”作为MSE重建损失以外的损失函数。

    以下链接也应该有所帮助:

    1. https://datascience.stackexchange.com/questions/13490/how-to-set-class-weights-for-imbalanced-classes-in-keras
    2. https://github.com/keras-team/keras/issues/3653

    【讨论】:

      猜你喜欢
      • 2020-07-01
      • 1970-01-01
      • 2017-11-22
      • 2020-09-13
      • 2022-08-14
      • 2021-03-20
      • 2018-09-13
      • 1970-01-01
      • 2018-03-04
      相关资源
      最近更新 更多