Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: SRNN.hpp
- Revision:
- 1:da597cb284a2
- Parent:
- 0:0d42047e140c
- Child:
- 2:d623e7ef4dca
--- a/SRNN.hpp Thu Jan 15 08:22:24 2015 +0000
+++ b/SRNN.hpp Sun Feb 15 04:05:35 2015 +0000
@@ -27,6 +27,7 @@
float alpha; // 慣性項の係数(0.8 * learnRateぐらいに設定する予定)
float alpha_context; // コンテキスト層の重み付け[0,1]
int len_seqence; // サンプルの系列長
+ int len_predict; // 予測系列長
float* Win_mid; // 入力<->中間層の係数行列
float* Wmid_out; // 中間<->出力層の係数行列
float* expand_in_signal; // コンテキスト層も含めた入力層の出力信号.SRNN特有
@@ -50,6 +51,7 @@
SRNN(int, // 信号の次元dim_signal
int, // 中間層の数num_mid_neuron
int, // 系列長len_seqence
+ int, // 予測系列長len_predict
float*, // サンプル
float*); // サンプルの最大値/最小値ベクトル