News for hackers. Stuff that matters.
Re:Neural networks in JavaScript by dnautics on Friday July 11, 2014 @02:41PM (#8021716)
generally a linear function takes the form of:

v(x1,x2) = C1 * x1 + C2 * x2 + C3.

C's being "coefficients".

In your case, v(x1,x2) = 0x1 + x2 + 0

i.e. C1 = 0; C2 = 1; C3 = 0

suffices, where a result v > 0.5 indicates A and v <= 0.5 indicates B.

There are no comments on this comment yet.