Quiero arreglar una cosa interesante con usted: intente entrenar una red neuronal en Hojas de cálculo de Google. Sin macros y otros hacks, en fórmulas limpias.
![](https://habrastorage.org/webt/ny/rx/ks/nyrxksa4kxvw-pnmktqjgcvdyby.jpeg)
Descargo de responsabilidad: este es solo un ejemplo de "todo se puede hacer en Excel". Hay muchas otras herramientas más adecuadas para el aprendizaje automático.
, : . : . .
, . , 1 2, , .
![](https://habrastorage.org/webt/hw/ni/k1/hwnik1ltrpujwdegktrlsa7geqy.png)
( ) , , .
, . . — , . MSE. , , .
MSE — , . . , , — , . MSE , .
![](https://habrastorage.org/webt/3y/yy/tp/3yyytpnfujzem6fvekkynbdwalq.png)
: SUM(ARRAYFORMULA(POW(Data!$A$2:$A*$A4 + Data!$B$2:$B*$B4 - Data!$D$2:$D, 2)))/COUNT(Data!$A$2:$A)
: POW(Data!$A$2:$A*$A4 + Data!$B$2:$B*$B4 - Data!$D$2:$D, 2)
. ARRAYFORMULA
. , . AVERAGE
, ARRAYFORMULA
.
. ; , , . : , — , .
![](https://habrastorage.org/webt/nl/no/de/nlnodewa6oeganxnepfzgiflnzi.png)
: SUM(ARRAYFORMULA((Data!$A$2:$A*$A4 + Data!$B$2:$B*$B4 - Data!$D$2:$D)*Data!$A$2:$A))/COUNT(Data!$A$2:$A)
— , .
. . , .
![](https://habrastorage.org/webt/gi/bh/oo/gibhooqh2h_m9aemms160_dt4jc.png)
:
![](https://habrastorage.org/webt/xs/m2/ch/xsm2chnff94nyrvhff5kohbhm-o.png)
, , . — , . , h = 2
:
![](https://habrastorage.org/webt/dq/go/mf/dqgomfaoqhkulc3lk8jm5amvzcm.png)
, , . !
y2
, , y
:
![](https://habrastorage.org/webt/el/gv/r5/elgvr5_5ykp0aidqni2z-8cvldm.png)
( , ):
![](https://habrastorage.org/webt/3q/ru/7w/3qru7wcn5zo7aioa9nbt8nxmotm.png)
. — , — . .
:
w1
— . w1_1_1
, w1_1_2
, w1_2_1
w1_2_2
w2
— . w2_1
w2_2
:
- — ,
- —
- — ,
- — -
- — -
- —
- , — .
- —
:
, , .
. , . JOIN(",",{1,2,3})
"1,2,3"
, SPLIT("1,2,3", ",")
.
. , JOIN
. ARRAYFORMULA
. , , , .
— (2, n). , — . , :
- , . .
- , : n .
. , .
! :
![](https://habrastorage.org/webt/cb/ts/1w/cbts1w30rugqhf34lo67ae-hbvq.png)
:
- :
FILTER(Data!$A$2:$B, NOT(ISBLANK(Data!$A$2:$A)))
— , . . INDEX
. delta_w1_1_2
1,2 .- : , . , .
w2_1
, :
![](https://habrastorage.org/webt/9v/58/pz/9v58pz1ewmdd1erfoqnpz3v2d5a.png)
: MSE, :
![](https://habrastorage.org/webt/u6/6b/bt/u66bbthxyg7kqtl1kc8ibzit2oq.png)
MSE , .
. MSE 0.025 (51- ), — 0.020 (51- ). ( , ): MSE = 0.025. , , . !
: https://docs.google.com/spreadsheets/d/17gnn1kMdznEuScOsotOhrIbqMSpDLEFxkCee9Z27jRU/edit?usp=sharing
- : https://t.me/just_go_right_ahead_and_do_it
P.S. LINEST
, ( ) , . w2, w1, bias
, x1, x2
:
![](https://habrastorage.org/webt/ee/rp/iw/eerpiwhtxgnt_23agep34-ojoma.png)
, : https://support.google.com/docs/answer/3094249?hl=en. , . .