Re:Show HN: Single neuron neural network written in COBOL
by __palo_alto__ on Thursday September 03, 2020 @10:43PM
(#24371225)
I think the perceptron algorithm does not include a sigmoid, just a stepwise activation. https://en.wikipedia.org/wiki/Perceptron
Re:Show HN: Single neuron neural network written in COBOL
by atum47 on Thursday September 03, 2020 @10:27PM
(#24371162)
ERR is the name of my variable "error" S indicates that this value is signed 99 is two digits V is a decimal separator and the other 9999 are 4 decimal places
Re:Show HN: Single neuron neural network written in COBOL
by jecel on Thursday September 03, 2020 @10:53PM
(#24371262)
And the 01 at the start of the line is the level number as explained in the link. It is how Cobol declared nested records, which Fortran and Algol lacked but became popular through PL/I, Pascal and C.
I have never seen cobol code before, only heard about it so thanks for posting some. What do rows like "01 ERR PIC S99V9999." mean?