# HG changeset patch # User James Bergstra # Date 1224799509 14400 # Node ID 31acd42b2b0bb620444eeb94981a1f9b5490e71c # Parent 69c800af13709e08bb525883e27aa591721854ad __instance_type__ -> InstanceType diff -r 69c800af1370 -r 31acd42b2b0b algorithms/logistic_regression.py --- a/algorithms/logistic_regression.py Thu Oct 23 13:26:42 2008 -0400 +++ b/algorithms/logistic_regression.py Thu Oct 23 18:05:09 2008 -0400 @@ -9,7 +9,7 @@ class Module_Nclass(module.FancyModule): - class __instance_type__(module.FancyModuleInstance): + class InstanceType(module.FancyModuleInstance): def initialize(self, n_in, n_out): #self.component is the LogisticRegressionTemplate instance that built this guy. @@ -48,7 +48,7 @@ updates = dict((p, p - self.lr * g) for p, g in zip(self.params, gparams))) class Module(module.FancyModule): - class __instance_type__(module.FancyModuleInstance): + class InstanceType(module.FancyModuleInstance): def initialize(self, n_in): #self.component is the LogisticRegressionTemplate instance that built this guy.