packages feed

rp-tree-0.6: rp-tree.cabal

name:                rp-tree
version:             0.6
synopsis:            Random projection trees
description:         Random projection trees for approximate nearest neighbor search in high-dimensional vector spaces
                     .
                     To use the library, import "Data.RPTree", which also contains all documentation.
homepage:            https://github.com/ocramz/rp-tree
license:             BSD3
license-file:        LICENSE
author:              Marco Zocca
maintainer:          ocramz
copyright:           (c) 2021 Marco Zocca, UnfoldML AB
category:            Data Mining, Data Structures, Machine Learning, Data
build-type:          Simple
extra-source-files:  README.md
                     Changelog.md
-- extra-doc-files:     r/scatter.png
cabal-version:       1.18
tested-with:         GHC == 8.6.5, GHC == 8.10.4

library
  default-language:    Haskell2010
  ghc-options:         -Wall
  hs-source-dirs:      src
  exposed-modules:     Data.RPTree
                       
  other-modules:       Data.RPTree.Internal
                       Data.RPTree.Gen
                       Data.RPTree.Draw
                       Data.RPTree.Conduit
                       Data.RPTree.Internal.Testing
  build-depends:       base >= 4.7 && < 5
                     , boxes
                     , bytestring
                     , conduit >= 1.3.1
                     , containers >= 0.6
                     , deepseq >= 1.4
                     , heaps
                     , mtl >= 2.2.2
                     -- , psqueues
                     , serialise >= 0.2
                     , splitmix
                     , splitmix-distributions >= 0.9
                     , text >= 1.2.3.1
                     , transformers >= 0.5
                     , vector >= 0.12
                     , vector-algorithms >= 0.8
                     -- -- -- DEBUG
                     -- , benchpress
                     -- , hspec >= 2.7.1
                     -- , mnist-idx-conduit
                     
test-suite spec
  default-language:    Haskell2010
  ghc-options:         -Wall
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , rp-tree
                     , conduit
                     , hspec
                     , QuickCheck
                     , splitmix-distributions

benchmark bench-time
  default-language:    Haskell2010
  ghc-options:         -threaded -O2
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench/time
  main-is:             Main.hs
  build-depends:       base
                     , benchpress
                     , conduit
                     , deepseq >= 1.4.4.0
                     -- , mnist-idx-conduit
                     , rp-tree
                     , splitmix >= 0.1.0.3
                     , splitmix-distributions
                     , transformers
                     , vector

executable rp-tree
  default-language:    Haskell2010
  ghc-options:         -threaded -O2
  hs-source-dirs:      app
  main-is:             Main.hs
  build-depends:       base
                     , conduit
                     , containers
                     -- , mnist-idx-conduit
                     , rp-tree
                     , splitmix
                     , splitmix-distributions
                     , transformers
                     , vector

source-repository head
  type:     git
  location: https://github.com/ocramz/rp-tree