# HG changeset patch # User Joseph Turian # Date 1225210189 14400 # Node ID f13847478c6d2eb5debe3b0ecbb62eb49ae2fc4b # Parent 7560817a07e829d17fd521dce9846fa3e4c2fa41 A few more ideas, in comments diff -r 7560817a07e8 -r f13847478c6d activation.py --- /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. +""" diff -r 7560817a07e8 -r f13847478c6d cost.py --- 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. """