1 Star 0 Fork 0

xiaooo/lstm-electric-load-forecast

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.py 449 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mohamed Abdulaziz 提交于 2018-05-21 03:25 . Refactored code for readability
from keras.models import load_model
from lstm import run_lstm
if __name__ == '__main__':
loading_model = False
if loading_model:
model = load_model('LSTM_power_consumption_model.h5')
else:
model = None
sequence_length = 10 # number of past minutes of data for model to consider
prediction_steps = 5 # number of future minutes of data for model to predict
run_lstm(model, sequence_length, prediction_steps)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiaooo124/lstm-electric-load-forecast.git
git@gitee.com:xiaooo124/lstm-electric-load-forecast.git
xiaooo124
lstm-electric-load-forecast
lstm-electric-load-forecast
master

搜索帮助