摘要: # LSTM的产生 我们之前在求RNN的loss的时候很容易出现梯度弥散或者梯度爆炸。这个LSTM的出现很大程度上减少了梯度弥散的情况。 ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-2023062520565564 阅读全文
posted @ 2023-06-26 23:48 lipu123 阅读(116) 评论(0) 推荐(0)
摘要: # 1 数据的生成与导入 这里主要使用的pandas ``` import pandas as pd #加载excel数据 df_excel=pd.read_excel('') df_excel.head() #加载text数据 df_text=pd.read_table('') df_text.h 阅读全文
posted @ 2023-06-26 23:48 lipu123 阅读(189) 评论(0) 推荐(0)