Mercurial > pylearn
comparison learner.py @ 292:174374d59405
merge
author | James Bergstra <bergstrj@iro.umontreal.ca> |
---|---|
date | Fri, 06 Jun 2008 15:56:18 -0400 |
parents | 78cc8fe3bbe9 |
children | fe57b96f33d4 |
comparison
equal
deleted
inserted
replaced
291:4e6b550fe131 | 292:174374d59405 |
---|---|
108 """ | 108 """ |
109 Return a LearnerModel, either fresh (if training_dataset is None) or fully trained (otherwise). | 109 Return a LearnerModel, either fresh (if training_dataset is None) or fully trained (otherwise). |
110 """ | 110 """ |
111 raise AbstractFunction() | 111 raise AbstractFunction() |
112 | 112 |
113 class LearnerModel(LearnedModel): | 113 class LearnerModel(TrainedModel): |
114 """ | 114 """ |
115 LearnerModel is a base class for models returned by instances of a LearningAlgorithm subclass. | 115 LearnerModel is a base class for models returned by instances of a LearningAlgorithm subclass. |
116 It is only given here to define the expected semantics. | 116 It is only given here to define the expected semantics. |
117 """ | 117 """ |
118 def __init__(self): | 118 def __init__(self): |