changeset 496:f13847478c6d

A few more ideas, in comments
author Joseph Turian <turian@gmail.com>
date Tue, 28 Oct 2008 12:09:49 -0400
parents 7560817a07e8
children a272f4cbf004
files activation.py cost.py
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/activation.py	Tue Oct 28 12:09:49 2008 -0400
@@ -0,0 +1,6 @@
+"""
+Activation functions.
+
+@todo: Make an Activation function class, with a particular contract.
+That way, we can swap in Activation functions in our algorithms.
+"""
--- a/cost.py	Tue Oct 28 12:09:39 2008 -0400
+++ b/cost.py	Tue Oct 28 12:09:49 2008 -0400
@@ -4,6 +4,8 @@
 @note: All of these functions return one cost per example. So it is your
 job to perform a tensor.sum over the individual example losses.
 
+@todo: Make a Cost class, with a particular contract.
+
 @todo: It would be nice to implement a hinge loss, with a particular margin.
 """