changeset 3:230b25fa0ea7

Explain the discarded output syntax
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Fri, 04 Nov 2011 11:12:51 -0400
parents 443c6b29f715
children e90718520560
files predict.m
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/predict.m
+++ b/predict.m
@@ -6,6 +6,8 @@
   m = rows (X);
   X = [ones(m, 1), X];
 
+  ## See predictOneVsAll.m for an explanatin of this syntax if it's new
+  ## to you.
   [~, p] = max ( [ones(m, 1), sigmoid(X*Theta1')]*Theta2', [], 2);
 
 endfunction