packages feed

nonlinear-optimization-backprop-0.2.4: nonlinear-optimization-backprop.cabal

-- Initial nonlinear-optimization-backprop.cabal generated by cabal init.  For 
-- further documentation, see http://haskell.org/cabal/users-guide/

name:                nonlinear-optimization-backprop
version:             0.2.4
synopsis:            Wrapper of nonlinear-optimization package for using with backprop package
description:         This package enhances
                     <https://hackage.haskell.org/package/nonlinear-optimization nonlinear-optimization>'s
                     usability by using
                     <https://hackage.haskell.org/package/backprop backprop>'s
                     automatic differentiation. You only need to
                     specify a function to minimize and don't need to
                     specify its gradient explicitly.
homepage:            https://github.com/msakai/nonlinear-optimization-ad
bug-reports:         https://github.com/msakai/nonlinear-optimization-ad/issues
license:             GPL-3
license-file:        LICENSE
copyright:           (c) 2020 Masahiro Sakai
author:              Masahiro Sakai (masahiro.sakai@gmail.com)
maintainer:          masahiro.sakai@gmail.com
category:            Math, Algorithms, Optimisation, Optimization
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:
   README.md
   CHANGELOG.markdown
   samples/galton.csv

tested-with: GHC==8.8.2
tested-with: GHC==8.6.4
tested-with: GHC==8.4.4
tested-with: GHC==8.2.2
tested-with: GHC==8.0.2

source-repository head
  type:     git
  location: git://github.com/msakai/nonlinear-optimization-ad.git

flag BuildSamplePrograms
  Description: build sample programs
  Default: False
  Manual: True

library
  exposed-modules:     Numeric.Optimization.Algorithms.HagerZhang05.Backprop
  build-depends:
      -- GHC >=8.0
      base >=4.9 && <5
    , backprop
    , nonlinear-optimization >=0.3.7 && <0.4
    , vector >= 0.5 && < 0.13
    , primitive
    , reflection
    , mono-traversable
    , mtl
  -- vinyl >=0.12.0 drops support for GHC-8.2 and below
  if impl(ghc <8.4)
    build-depends:
      vinyl <0.12.0
  hs-source-dirs:      src
  default-language: Haskell2010
  other-extensions:
    ScopedTypeVariables
    Rank2Types
    TypeFamilies
    CPP

-- Sample Programs

Executable LinearRegression
  If !flag(BuildSamplePrograms)
    Buildable: False
  Main-is: LinearRegression.hs
  HS-Source-Dirs: samples
  Build-Depends:
    base,
    bytestring,
    cassava,
    nonlinear-optimization-backprop,
    vector
  Default-Language: Haskell2010
  Other-extensions:
    TypeFamilies