Weather casting with Machine Learning (SVM and SRNN).
Dependencies: EthernetInterface GraphicHandler NTPClient SRNN SVM SensorModule mbed-rtos mbed
main.hpp
- Committer:
- yukari_hinata
- Date:
- 2015-02-15
- Revision:
- 0:f6cdb984f638
- Child:
- 1:8538381cae81
File content as of revision 0:f6cdb984f638:
#ifndef MAIN_H_INCLUDED #define MAIN_H_INCLUDED #include "mbed.h" #include "rtos.h" #include "share.hpp" #include "setup.hpp" #include "MCSVM.hpp" #include "SRNN.hpp" #include "SensorModule.hpp" #include "GraphicHandler.hpp" #include "./debug/debug.hpp" #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のサンプル数 // 時間(global) extern time_t global_time; // 現在時刻 extern Mutex time_mutex; // 時間のMutex // Pointer to Class instance (global) extern SRNN *srnn; extern MCSVM *mcsvm; extern SensorModule *sm; extern GraphicHandler *gh; #endif /* MAIN_H_INCLUDED */