You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2016/06/10 17:49:53 UTC
incubator-systemml git commit: [SYSTEMML-746] Fix confusion matrix
docs
Repository: incubator-systemml
Updated Branches:
refs/heads/master c76b01a75 -> 7ae794c93
[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/7ae794c9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/7ae794c9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/7ae794c9
Branch: refs/heads/master
Commit: 7ae794c933971e28443d59b172d3ad01fbac9873
Parents: c76b01a
Author: MechCoder <mk...@nyu.edu>
Authored: Fri Jun 10 10:47:32 2016 -0700
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Fri Jun 10 10:47:32 2016 -0700
----------------------------------------------------------------------
docs/quick-start-guide.md | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/7ae794c9/docs/quick-start-guide.md
----------------------------------------------------------------------
diff --git a/docs/quick-start-guide.md b/docs/quick-start-guide.md
index 35a175d..ed6bd3a 100644
--- a/docs/quick-start-guide.md
+++ b/docs/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