prehsept-0.6.6.6: PRECEPT, but in Haskell.
Safe HaskellNone
LanguageHaskell2010

Run

Description

Module for running training

Synopsis

Documentation

trainStep :: Tensor -> Tensor -> OpNet -> Adam -> IO (OpNet, Adam, Tensor) Source #

Run one Update Step

trainingEpoch :: ProgressBar s -> [Tensor] -> [Tensor] -> [Tensor] -> OpNet -> Adam -> IO (OpNet, Adam, Tensor) Source #

Run through all Batches performing an update for each

validStep :: Tensor -> Tensor -> OpNet -> IO Tensor Source #

Run one Update Step

validationEpoch :: ProgressBar s -> [Tensor] -> [Tensor] -> OpNet -> [Tensor] -> IO Tensor Source #

Run through all Batches performing an update for each

runEpochs :: FilePath -> Int -> Int -> Tensor -> Tensor -> Tensor -> Tensor -> OpNet -> Adam -> IO (OpNet, Adam) Source #

Run Training and Validation for a given number of Epochs

run :: Args -> IO () Source #

Initiate Training Run for given Args

runExp :: Args -> IO () Source #

Experimental Training Run

runBase :: Args -> IO () Source #

Basic Training Run

testModel :: Int -> DataFrame Tensor -> [String] -> [String] -> (Tensor -> Tensor) -> IO () Source #

Model Test

testModelExp :: DataFrame Tensor -> [String] -> [String] -> (Tensor -> Tensor) -> IO () Source #

Experimental Model Test

region :: Int -> DataFrame Tensor -> Tensor Source #

Filter region Experimental: -1 Saturation: 2 Sub-Threshold: 3