ラベル

AI Forecast 8306MUFG (213) 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年10月26日土曜日

関数補間マシンとしてのAI実験  AI Experiment as a Function Interpolation Machine

関数補間マシンとしてのAI実験 

AI Experiment as a Function Interpolation Machine




ニューラルネットは補間関数と前に述べたが、下の自作ツールで試してみよう!Ealier I mentioned that neural net is an interpolation function so let's try it out now in below tool I made!

10個のデータポイントを色々変えると、関数が難しくなるにつれて、ニューロン数、繰り返し回数、中間層の数を増やさないと追従できなくなることが確認できる。If you change 10 data points, as the function becomes complex, you can see that interpolation becomes more difficult unless you increase number of neurons, epochs, layers.

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

枠内の数字を変えてボタンを押すと計算終了後に与えた関数および推定関数を表示する。計算速度は利用中のパソコンの性能によりかなり時間がかかる場合がある。If you change numbers in the boxes then click button, your input function set as well as its approximation are shown at the button graph. Calculation takes longer depending on the spec of your computer.

なお、本プログラムはJavascript版のTensorflowで書かれており、計算はあなたのマシンでローカルに実行している。プログラムはココ。For information, this program is written in Javascript version of Tensorflow and calculation is done on your machine locally. Program is here.


Neuralnet Capability Check on Javascript based Tensorflow
NumOfNeurons/layerニューロン数/層
NumOfEpoch教育繰り返し回数
InputLyrActivFunc入力層活性化関数
HidnLyrActivFunc中間層活性化関数
NumOfHiddenLayer中間層の数

Value of Y when X = 1, X=1の場合のYの値
Value of Y when X = 2, X=2の場合のYの値
Value of Y when X = 3, X=3の場合のYの値
Value of Y when X = 4, X=4の場合のYの値
Value of Y when X = 5, X=5の場合のYの値
Value of Y when X = 6, X=6の場合のYの値
Value of Y when X = 7, X=7の場合のYの値
Value of Y when X = 8, X=8の場合のYの値
Value of Y when X = 9, X=9の場合のYの値
Value of Y when X = 10, X=10の場合のYの値