diff linear_regression.py @ 132:f6505ec32dc3

Updated documentation slightly
author Joseph Turian <turian@gmail.com>
date Thu, 08 May 2008 00:54:14 -0400
parents d0a1bd0378c6
children c9a89be5cb0a
line wrap: on
line diff
--- a/linear_regression.py	Wed May 07 21:40:15 2008 -0400
+++ b/linear_regression.py	Thu May 08 00:54:14 2008 -0400
@@ -1,10 +1,13 @@
+"""
+Implementation of linear regression, with or without L2 regularization.
+This is one of the simplest example of L{learner}, and illustrates
+the use of theano.
+"""
 
 from learner import *
 from theano import tensor as t
 from theano.scalar import as_scalar
 
-# this is one of the simplest example of learner, and illustrates
-# the use of theano 
 class LinearRegression(MinibatchUpdatesTLearner):
     """
     Implement linear regression, with or without L2 regularization