gpt4 book ai didi

node.js - Brain js 用于顺序时间预测

转载 作者:行者123 更新时间:2023-11-30 09:48:00 24 4
gpt4 key购买 nike

有人尝试用 Brainjs 实现顺序时间预测模型吗?我有一个正在发生的事件的日期,并且我想知道下一个发生的事件是什么时候。

谢谢

最佳答案

https://github.com/BrainJS/brain.js#for-training-with-rnntimestep-lstmtimestep-and-grutimestep

var net = new brain.recurrent.LSTMTimeStep();

net.train([
[1, 3],
[2, 2],
[3, 1],
]);

var output = net.run([[1, 3], [2, 2]]); // [3, 1]

关于node.js - Brain js 用于顺序时间预测,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49823894/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com