ラベル

AI Forecast 8306MUFG (214) Social (75) life (70) Financial (62) IT (57) Proposal (56) idea (50) Fund Management (48) Trading (43) economics (42) Covid-19 (40) AI (38) Hedge Fund (36) Risk (36) Culture (31) BOJ (29) Science (26) hobby (24) accounting (17) Apps (16) career (11) job (7) Travel (6) Hiking (5) emotion (5) music (3) Statarb (2) piano (2)

2019年11月28日木曜日

AIで温度管理の実験をしよう AI Temperature Control Play Ground

AIで温度管理してみよう

AI Temperature Control Play Ground


エアコンの温度管理をAIでやってみよう。熱伝導方程式による解析的なアプローチよりはるかに簡単に、ニューラルネットは「動物的カン」で答えをだすのである。Let's control air conditioner by AI. Far easier than analytical solution by solving heat conduction equation, neutral network gives out answer like animal hunch.

温度を一定に保つ初期の装置はバイメタルによるOn/Offだった。でも、今は、ニューラルネットがよりスマートにやってくれる。Early day's temperature stabilization was done by bi-metal to perform on/off. But now neutral network does it more smoothly.

下のプログラムでは、外気温、エアコンダイアル設定(+は暖房/-は冷房)、室内温度について9つのデータを取った結果でニューラルネットを教育している。In the program below, AI takes 9 data sample for outside temperature, air conditioner setting(+for heating/-for cooling), and inside temperature.

いろいろパラメータを変えて走らせてみよう。You can change parameter and play around in the test environment. Pls try.

活性化関数は全部で11ある。There are all 11 activation functions you can try (elu, hardsigmoid, linear, relu, relu6, selu, sigmoid, softmax, softplus, softsign, tanh).

プログラムはこちら。Codes are here. 



Air Conditioning AI Controller
Decide control level to achieve target room tempetature

#OfNeurons/layerニューロン数/層
#ofEpoc教育繰り返し回数
InputLyrActivFunc入力層活性化関数
HidnLyrActivFunc中間層活性化関数
#ofHiddenLayer中間層の数

データー番号 data number   
               
x. 外気温temperature   outside
               
z. 冷暖力Air conditioning power (+warm/-cool)
               
y. 最終室温Final room temperature