Class: ML::Learner::AdaptivePerceptronLearner
- Inherits:
-
PerceptronLearner
- Object
- PerceptronLearner
- ML::Learner::AdaptivePerceptronLearner
- Defined in:
- lib/method/adaptive_perceptron.rb
Overview
Implementation of Adaptive Perceptron Learning Algorithm
Instance Attribute Summary
Attributes included from LinearToolbox
Instance Method Summary collapse
-
#initialize(dim, eta = 0.1) ⇒ AdaptivePerceptronLearner
constructor
Initialize an adaptive perceptron learner.
Methods inherited from PerceptronLearner
Methods included from LinearToolbox
Methods included from Toolbox
Constructor Details
#initialize(dim, eta = 0.1) ⇒ AdaptivePerceptronLearner
Initialize an adaptive perceptron learner
11 12 13 14 |
# File 'lib/method/adaptive_perceptron.rb', line 11 def initialize dim, eta = 0.1 super(dim) @eta = eta end |