Safe Haskell | None |
---|
HLearn.Algebra.Models.Lame
Contents
Description
Lame trainers are trainers that are crippled---They are not Monoids, and training their models is not a homomorphism. This means we can't do any of the cool manipulations automatically that we can do with the HomTrainer class. These classes are provided mostly for development and testing purposes. It is not recommended that you use any of their instances.
- class LameTrainer model where
- type LameDatapoint model :: *
- type LameContainer model :: * -> *
- lame_train :: LameContainer model (LameDatapoint model) -> model
- class LameTrainerOnline model where
- type LameDatapointOnline model :: *
- lame_add1dp :: model -> LameDatapointOnline model -> model
Classes
class LameTrainer model whereSource
Provides a non-homomorphic batch trainer
Methods
lame_train :: LameContainer model (LameDatapoint model) -> modelSource
Instances
HomTrainer model => LameTrainer model |
class LameTrainerOnline model whereSource
Provides a non-homomorphic online trainer
Associated Types
type LameDatapointOnline model :: *Source
Methods
lame_add1dp :: model -> LameDatapointOnline model -> modelSource