forked from brunjlar/neural
-
Notifications
You must be signed in to change notification settings - Fork 0
/
neural.cabal
195 lines (183 loc) · 6.98 KB
/
neural.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
name: neural
version: 0.3.0.1
synopsis: Neural Networks in native Haskell
description:
The goal of `neural` is to provide a modular and flexible neural network library written in native Haskell.
.
Features include
.
* /composability/ via arrow-like instances and
<https://hackage.haskell.org/package/pipes pipes>,
.
* /automatic differentiation/ for automatic gradient descent/ backpropagation training
(using Edward Kmett's fabulous <https://hackage.haskell.org/package/ad ad> library).
.
The idea is to be able to easily define new components and wire them up in flexible, possibly
complicated ways (convolutional deep networks etc.).
.
Four examples are included as proof of concept:
.
* A simple neural network that approximates the sine function on [0,2 pi].
.
* Another simple neural network that approximates the sqrt function on [0,4].
.
* A slightly more complicated neural network that solves the famous
<https://en.wikipedia.org/wiki/Iris_flower_data_set Iris flower> problem.
.
* A first (still simple) neural network for recognizing handwritten digits from the equally famous
<https://en.wikipedia.org/wiki/MNIST_database MNIST> database.
.
The library is still very much experimental at this point.
extra-source-files:
.travis.yml
.gitignore
.ghci
stack.yaml
README.markdown
homepage: https://github.com/brunjlar/neural
bug-reports: https://github.com/brunjlar/neural/issues
license: MIT
license-file: LICENSE
author: Lars Bruenjes
maintainer: [email protected]
copyright: Copyright: (c) 2016 Lars Bruenjes
category: Machine Learning
build-type: Simple
cabal-version: >=1.10
stability: provisional
tested-with: GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2
library
hs-source-dirs: src
exposed-modules: Numeric.Neural
, Numeric.Neural.Convolution
, Numeric.Neural.Layer
, Numeric.Neural.Model
, Numeric.Neural.Normalization
, Numeric.Neural.Pipes
, Data.FixedSize
, Data.FixedSize.Class
, Data.FixedSize.Matrix
, Data.FixedSize.Vector
, Data.FixedSize.Volume
, Data.MyPrelude
, Data.Utils
, Data.Utils.Analytic
, Data.Utils.Arrow
, Data.Utils.Cache
, Data.Utils.List
, Data.Utils.Pipes
, Data.Utils.Random
, Data.Utils.Stack
, Data.Utils.Statistics
, Data.Utils.Traversable
other-modules:
ghc-options: -Wall -fexcess-precision -optc-O3 -optc-ffast-math
build-depends: base >= 4.7 && < 5
, ad
, array
, bytestring
, containers
, deepseq
, directory
, filepath
, ghc-typelits-natnormalise
, hspec
, kan-extensions
, lens
, MonadRandom
, monad-par
, monad-par-extras
, mtl
, parallel
, pipes
, pipes-bytestring
, pipes-safe
, profunctors
, random
, reflection
, STMonadTrans
, text
, transformers
, typelits-witnesses
, vector
, vector-sized
default-language: Haskell2010
test-suite neural-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base >= 4.7 && < 5
, hspec
, MonadRandom
, neural
other-modules: Data.Utils.CacheSpec
, Data.FixedSize.ClassSpec
, Data.FixedSize.MatrixSpec
, Data.FixedSize.VectorSpec
, Data.FixedSize.VolumeSpec
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fexcess-precision -optc-O3 -optc-ffast-math
default-language: Haskell2010
test-suite neural-doctest
type: exitcode-stdio-1.0
hs-source-dirs: doctest
main-is: doctest.hs
build-depends: base >= 4.7 && < 5
, doctest
, Glob
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fexcess-precision -optc-O3 -optc-ffast-math
default-language: Haskell2010
benchmark neural-bench
type: exitcode-stdio-1.0
hs-source-dirs: benchmark
main-is: benchmark.hs
build-depends: base >= 4.7 && < 5
, criterion
, neural
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fexcess-precision -optc-O3 -optc-ffast-math
default-language: Haskell2010
executable iris
hs-source-dirs: examples/iris
main-is: iris.hs
build-depends: base >= 4.7 && < 5
, attoparsec
, neural
, text
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fexcess-precision -optc-O3 -optc-ffast-math
default-language: Haskell2010
executable sin
hs-source-dirs: examples/sin
main-is: sin.hs
other-modules: Graph
build-depends: base >= 4.7 && < 5
, ansi-terminal
, array
, neural
, MonadRandom
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fexcess-precision -optc-O3 -optc-ffast-math
default-language: Haskell2010
executable sqrt
hs-source-dirs: examples/sqrt
main-is: sqrt.hs
build-depends: base >= 4.7 && < 5
, MonadRandom
, neural
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fexcess-precision -optc-O3 -optc-ffast-math
default-language: Haskell2010
executable MNIST
hs-source-dirs: examples/MNIST
main-is: MNIST.hs
build-depends: base >= 4.7 && < 5
, array
, JuicyPixels
, neural
, pipes
, pipes-zlib
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fexcess-precision -optc-O3 -optc-ffast-math
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/brunjlar/neural.git
source-repository this
type: git
location: https://github.com/brunjlar/neural.git
tag: 0.3.0.1