Weather casting with Machine Learning (SVM and SRNN).
Dependencies: EthernetInterface GraphicHandler NTPClient SRNN SVM SensorModule mbed-rtos mbed
Diff: share.hpp
- Revision:
- 1:8538381cae81
- Parent:
- 0:f6cdb984f638
- Child:
- 2:20ecfe6edd71
--- a/share.hpp Sun Feb 15 09:28:23 2015 +0000 +++ b/share.hpp Mon Feb 16 07:53:45 2015 +0000 @@ -1,6 +1,14 @@ #ifndef SHARE_H_INCLUDED #define SHARE_H_INCLUDED +#define PREDICT_LENGTH (3) // 予測系列長 +#define PREDICT_INTERVAL_TIME (1 * 60 * 60) // 予測間隔 : 1h +#define LEN_DATA_SEQUENCE (100) // 観測データの履歴長 +#define NUM_WEATHERS (4) // 気候の種類 +#define DIM_SIGNAL (3) // 信号の次元(=センサの数) +#define MCSVM_NUM_SAMPLES (200) // MCSVMのサンプル数 + + // 天候を表す列挙型 typedef enum { SHINY = 0, // 晴れ