Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Linear Classifier in C

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.12 sec, absolute running time: 0.14 sec, cpu time: 0 sec, memory peak: 3 Mb, absolute service time: 0,34 sec   
edit mode |  history  | discussion
============================================================
(1, 0, 0) goal: 1 got: 0.00 error:  1.00 fail
(1, 0, 1) goal: 1 got: 1.00 error:  0.00 success
(1, 1, 0) goal: 1 got: 1.00 error:  0.00 success
(1, 1, 1) goal: 0 got: 1.00 error: -1.00 fail
============================================================
(1, 0, 0) goal: 1 got: 0.00 error:  1.00 fail
(1, 0, 1) goal: 1 got: 0.00 error:  1.00 fail
(1, 1, 0) goal: 1 got: 1.00 error:  0.00 success
(1, 1, 1) goal: 0 got: 1.00 error: -1.00 fail
============================================================
(1, 0, 0) goal: 1 got: 1.00 error:  0.00 success
(1, 0, 1) goal: 1 got: 0.00 error:  1.00 fail
(1, 1, 0) goal: 1 got: 0.00 error:  1.00 fail
(1, 1, 1) goal: 0 got: 1.00 error: -1.00 fail
============================================================
(1, 0, 0) goal: 1 got: 1.00 error:  0.00 success
(1, 0, 1) goal: 1 got: 1.00 error:  0.00 success
(1, 1, 0) goal: 1 got: 0.00 error:  1.00 fail
(1, 1, 1) goal: 0 got: 1.00 error: -1.00 fail
============================================================
(1, 0, 0) goal: 1 got: 1.00 error:  0.00 success
(1, 0, 1) goal: 1 got: 0.00 error:  1.00 fail
(1, 1, 0) goal: 1 got: 1.00 error:  0.00 success
(1, 1, 1) goal: 0 got: 0.00 error:  0.00 success
============================================================
(1, 0, 0) goal: 1 got: 1.00 error:  0.00 success
(1, 0, 1) goal: 1 got: 1.00 error:  0.00 success
(1, 1, 0) goal: 1 got: 1.00 error:  0.00 success
(1, 1, 1) goal: 0 got: 0.00 error:  0.00 success
============================================================
Success in 6 iterations.