Name : ghc-hasty-hamiltonian
| |
Version : 1.3.0
| Vendor : obs://build_opensuse_org/devel:languages:haskell
|
Release : 8.1
| Date : 2018-06-28 11:26:18
|
Group : Development/Libraries/Haskell
| Source RPM : ghc-hasty-hamiltonian-1.3.0-8.1.src.rpm
|
Size : 0.05 MB
| |
Packager : (none)
| |
Summary : Speedy traversal through parameter space
|
Description :
Gradient-based traversal through parameter space.
This implementation of HMC algorithm uses \'lens\' as a means to operate over generic indexed traversable functors, so you can expect it to work if your target function takes a list, vector, map, sequence, etc. as its argument.
If you don\'t want to calculate your gradients by hand you can use the handy < https://hackage.haskell.org/package/ad ad> library for automatic differentiation.
Exports a \'mcmc\' function that prints a trace to stdout, a \'chain\' function for collecting results in memory, and a \'hamiltonian\' transition operator that can be used more generally.
> import Numeric.AD (grad) > import Numeric.MCMC.Hamiltonian > > target :: RealFloat a => [a] -> a > target [x0, x1] = negate ((x0 + 2 * x1 - 7) ^ 2 + (2 * x0 + x1 - 5) ^ 2) > > gTarget :: [Double] -> [Double] > gTarget = grad target > > booth :: Target [Double] > booth = Target target (Just gTarget) > > main :: IO () > main = withSystemRandom . asGenIO $ mcmc 10000 0.05 20 [0, 0] booth.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/haskell:/lts:/9/SLE_12_Backports/x86_64 |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
ghc-hasty-hamiltonian
ghc-hasty-hamiltonian(x86-64)
libHShasty-hamiltonian-1.3.0-IvmJKcVWOCP6cwFQAzNA8n-ghc8.0.2.so()(64bit)
Requires :