目录

Non-stationary Time-aware Kernelized Attention for Temporal Event Prediction

Code for our paper titled “Non-stationary Time-aware Kernelized Attention for Temporal Event Prediction” (KDD2022)

How to use

encoder_model = EncoderWithGSMK()
enc_outputs = encoder_model(enc_event_inputs, time_inputs=(enc_time_inputs, enc_time_inputs))

decoder_model = DecoderWithGSMK()
dec_outputs = decoder_model(dec_event_inputs, dec_time_inputs=(dec_time_inputs, dec_time_inputs),
    cross_time_inputs=(dec_time_inputs, enc_time_inputs), enc_output=enc_outputs)

Setup

  • keras==2.2.4
  • tensorflow==1.15.0
关于
36.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号