Perceptron in COBOL
A perceptron written in COBOL.
About
I've been reading a lot about companies seeking COBOL programmers, so I decided to give it a shot and wrote a perceptron to clissify the Iris dataset.
How to compile
How to use
Run the program
Then enter 4 values.
You can use 5.8 2.5 5.2 1.4 for testing purpose. The result should be one (Iris-versicolor).
On DATA.DAT there's a 5 colum by 100 rows table.
The first 4 colums are features that describe a flower.
The 5th colum is the flower's label.
0 = Iris-setosa
1 = Iris-versicolor
from Hacker News https://ift.tt/2Ake43d
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.