packages feed

haskell-ml-0.4.0: haskell-ml.cabal

name:                haskell-ml
version:             0.4.0
synopsis:            Machine learning in Haskell
description:         Machine learning in Haskell
license:             BSD3
license-file:        LICENSE
author:              David Banas
maintainer:          capn.freako@gmail.com
copyright:           2018 David Banas
category:            Machine Learning
build-type:          Simple
extra-source-files:  README.md
                     stack.yaml
                     .gitignore
cabal-version:       >=1.10

source-repository head
  type:     git
  location: https://github.com/capn-freako/Haskell_ML.git

library
  hs-source-dirs:      src
  exposed-modules:     Haskell_ML.FCN
                     , Haskell_ML.Util
  build-depends:       base >= 4.7 && < 5
                     , attoparsec
                     , binary
                     , hmatrix
                     , MonadRandom
                     , singletons
                     , text
                     , vector
  default-language:    Haskell2010
  ghc-options:         -O2
                       -fexcess-precision
                       -optc-ffast-math
                       -optc-O3

executable iris
  hs-source-dirs:      example/iris
  main-is:             iris.hs
  build-depends:       base >= 4.7 && < 5
                     , haskell-ml
                     , hmatrix
                     , random-shuffle
  default-language:    Haskell2010
  ghc-options:         -O2
                       -fexcess-precision
                       -optc-ffast-math
                       -optc-O3
                       -- -rtsopts

test-suite fcnTest1
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             fcnTest1.hs
  build-depends:       base >= 4.7 && < 5
                     , haskell-ml
                     , MonadRandom
  default-language:    Haskell2010
  ghc-options:         -O2
                       -fexcess-precision
                       -optc-ffast-math
                       -optc-O3