diff algorithms/_test_logistic_regression.py @ 503:c7ce66b4e8f4

Extensions to algorithms, and some cleanup (by defining linear_output result).
author Joseph Turian <turian@gmail.com>
date Wed, 29 Oct 2008 03:29:18 -0400
parents bd937e845bbb
children
line wrap: on
line diff
--- a/algorithms/_test_logistic_regression.py	Wed Oct 29 02:08:56 2008 -0400
+++ b/algorithms/_test_logistic_regression.py	Wed Oct 29 03:29:18 2008 -0400
@@ -2,8 +2,8 @@
 import sys, time
 
 if __name__ == '__main__':
-    pprint.assign(nnet_ops.crossentropy_softmax_1hot_with_bias_dx, printing.FunctionPrinter('xsoftmaxdx'))
-    pprint.assign(nnet_ops.crossentropy_softmax_argmax_1hot_with_bias, printing.FunctionPrinter('nll', 'softmax', 'argmax'))
+    pprint.assign(nnet.crossentropy_softmax_1hot_with_bias_dx, printing.FunctionPrinter('xsoftmaxdx'))
+    pprint.assign(nnet.crossentropy_softmax_argmax_1hot_with_bias, printing.FunctionPrinter('nll', 'softmax', 'argmax'))
     if 1:
         lrc = Module_Nclass()