Repository: incubator-systemml
Updated Branches:
  refs/heads/gh-pages 9e457e5bf -> abee6c892


[SYSTEMML-746] Fix confusion matrix docs

Closes #172.


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/abee6c89
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/abee6c89
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/abee6c89

Branch: refs/heads/gh-pages
Commit: abee6c8925f8cb5f08fecc5ee86b07efc5a197d6
Parents: 9e457e5
Author: MechCoder <[email protected]>
Authored: Fri Jun 10 10:47:32 2016 -0700
Committer: Deron Eriksson <[email protected]>
Committed: Fri Jun 10 10:47:32 2016 -0700

----------------------------------------------------------------------
 quick-start-guide.md | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/abee6c89/quick-start-guide.md
----------------------------------------------------------------------
diff --git a/quick-start-guide.md b/quick-start-guide.md
index 35a175d..ed6bd3a 100644
--- a/quick-start-guide.md
+++ b/quick-start-guide.md
@@ -333,8 +333,9 @@ The console output should show the accuracy of the trained 
model in percent, i.e
 
 The generated file `l2-svm-confusion.csv` should contain the following 
confusion matrix of this form:
 
-    |t1 t2|
-    |t3 t4|
+    |0   1.0 2.0|
+    |1.0 t1  t2 |
+    |2.0 t3  t4 |
 
  * The model correctly predicted label 1 `t1` times
  * The model incorrectly predicted label 1 as opposed to label 2 `t2` times
@@ -343,8 +344,9 @@ The generated file `l2-svm-confusion.csv` should contain 
the following confusion
 
 If the confusion matrix looks like this ...
 
-    107.0,38.0
-    0.0,2.0
+    0,1.0,2.0
+    1.0,107.0,38.0
+    2.0,0.0,2.0
 
 ... then the accuracy of the model is (t1+t4)/(t1+t2+t3+t4) = 
(107+2)/107+38+0+2) = 0.741496599
 

Reply via email to