Weather casting with Machine Learning (SVM and SRNN).

Dependencies:   EthernetInterface GraphicHandler NTPClient SRNN SVM SensorModule mbed-rtos mbed

share.hpp

Committer:
yukari_hinata
Date:
2015-02-16
Revision:
1:8538381cae81
Parent:
0:f6cdb984f638
Child:
2:20ecfe6edd71

File content as of revision 1:8538381cae81:

#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,  // 晴れ
    CLOUDY = 1,  // 曇
    RAINY  = 2,  // 雨
    SNOWY  = 3,  // 雪
} WEATHER_STATUS;

#endif /* SHARE_H_INCLUDED */