HLearn-algebra-1.0.0.1: Algebraic foundation for homomorphic learning

Safe HaskellNone

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.

Synopsis

Classes

class LameTrainer model whereSource

Provides a non-homomorphic batch trainer

Associated Types

type LameDatapoint model :: *Source

type LameContainer model :: * -> *Source

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