backprop-learn-0.1.0.0: Combinators and useful tools for ANNs using the backprop library

Safe HaskellNone
LanguageHaskell2010

Backprop.Learn.Run

Contents

Synopsis

Documentation

consecutives :: Monad m => ConduitT i (i, i) m () Source #

consecutivesN :: forall v n i m. (KnownNat n, Vector v i, Monad m) => ConduitT i (Vector v n i, Vector v n i) m () Source #

leadings :: forall v n i m. (KnownNat n, Vector v i, Monad m) => ConduitT i (Vector v n i, i) m () Source #

Encoding and decoding for learning

oneHot' Source #

Arguments

:: (Vector v a, KnownNat n) 
=> a

not hot

-> a

hot

-> Finite n 
-> Vector v n a 

What module should this be in?

oneHot :: (Vector v a, KnownNat n, Num a) => Finite n -> Vector v n a Source #

oneHotR :: KnownNat n => Finite n -> R n Source #

maxIndex :: (Vector v a, Ord a) => Vector v (n + 1) a -> Finite (n + 1) #

O(n) Yield the index of the maximum element of the non-empty vector.

maxIndexR :: KnownNat n => R (n + 1) -> Finite (n + 1) Source #

Could be in hmatrix.