linda 0.1 → 0.1.1
raw patch · 7 files changed
+12/−51 lines, 7 filesdep ~base
Dependency ranges changed: base
Files
- linda.cabal +5/−42
- src/Numeric/Function.hs +2/−2
- src/Numeric/Matrix.hs +1/−1
- src/Numeric/MatrixList.hs +1/−1
- src/Numeric/Statistics/LDA.hs +1/−1
- src/Numeric/Vector.hs +1/−1
- src/Tests.hs +1/−3
linda.cabal view
@@ -1,62 +1,25 @@--- lda.cabal auto-generated by cabal init. For additional options, see--- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.--- The name of the package. Name: linda---- The package version. See the Haskell package versioning policy--- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for--- standards guiding when and how versions should be incremented.-Version: 0.1---- A short (one-line) description of the package.+Version: 0.1.1 Synopsis: LINear Discriminant Analysis---- A longer description of the package. Description: This package (mainly the module LDA) implements the linear discriminant analysis. It provides both data classification (according to Fisher) and data analysis (by discriminant criteria). --- The license under which the package is released. License: BSD3---- The file containing the license text. License-file: LICENSE --- The package author(s). Author: Lennart Schmitt---- An email address to which users can send suggestions, bug reports,--- and patches. Maintainer: lennart...schmitt@<nospam>gmail.com---- A copyright notice.- Copyright: (c) Lennart Schmitt---- Stability of the pakcage (experimental, provisional, stable...)+Copyright: (c) Lennart Schmitt Stability: Experimental- Category: Math, Statistics- Build-type: Simple --- Extra files to be distributed with the package, such as examples or--- a README. -- Extra-source-files: ---- Constraint on the version of Cabal needed to build this package. Cabal-version: >=1.2 Library- -- Modules exported by the library. Exposed-modules: Numeric.Function, Numeric.Statistics.LDA, Numeric.MatrixList, Numeric.Matrix, Numeric.Vector- - -- Packages needed in order to build this package.- Build-depends: base >= 2 && <= 4, hstats -any, hmatrix -any, HUnit >= 1- - -- Modules not exported by this package.+ Build-depends: base >= 2 && <= 5, hstats -any, hmatrix -any, HUnit >= 1 Other-modules: Tests- - hs-source-dirs: src- - -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.- -- Build-tools: - + hs-source-dirs: src/+
src/Numeric/Function.hs view
@@ -9,8 +9,8 @@ -- Copyright : (c) Lennart Schmitt -- License : BSD-style (see the file libraries/base/LICENSE) -- --- Maintainer : libraries@haskell.org --- Stability : experimental +-- Maintainer : lennart...schmitt@<nospam>gmail.com +-- Stability : stable -- Portability : portable -- -- This module implements the simple functionality of multidimensional linear function calculation.
src/Numeric/Matrix.hs view
@@ -9,7 +9,7 @@ -- Copyright : (c) Lennart Schmitt -- License : BSD-style (see the file libraries/base/LICENSE) -- --- Maintainer : libraries@haskell.org +-- Maintainer : lennart...schmitt@<nospam>gmail.com -- Stability : experimental -- Portability : portable --
src/Numeric/MatrixList.hs view
@@ -9,7 +9,7 @@ -- Copyright : (c) Lennart Schmitt -- License : BSD-style (see the file libraries/base/LICENSE) -- --- Maintainer : libraries@haskell.org +-- Maintainer : lennart...schmitt@<nospam>gmail.com -- Stability : experimental -- Portability : portable --
src/Numeric/Statistics/LDA.hs view
@@ -9,7 +9,7 @@ -- Copyright : (c) Lennart Schmitt -- License : BSD-style (see the file libraries/base/LICENSE) -- --- Maintainer : libraries@haskell.org +-- Maintainer : lennart...schmitt@<nospam>gmail.com -- Stability : experimental -- Portability : portable --
src/Numeric/Vector.hs view
@@ -9,7 +9,7 @@ -- Copyright : (c) Lennart Schmitt -- License : BSD-style (see the file libraries/base/LICENSE) -- --- Maintainer : libraries@haskell.org +-- Maintainer : lennart...schmitt@<nospam>gmail.com -- Stability : experimental -- Portability : portable --
src/Tests.hs view
@@ -42,11 +42,9 @@ test_reduceMatrix = TestCase ( assertEqual "Testing reduceMatrix-function" ([[ -0.14081563757848092, -0.25714], [-0.42245, -0.7714256375784809 ]]) ( Numeric.Matrix.toLists.reduceMatrix $ (fromLists [[0.77143,-0.25714],[-0.42245,0.14082]]) ) ) - {-------------------------------------------------------------------------------------- Testing Util Module -------------------------+-------------------- Testing MatrixList Module ----------------------- -----------------------------------------------------------------}- test_averages = TestCase ( assertEqual "Testing averages-function" [[2.5,3.5,5.5,4.0,2.5,5.5,4.0,3.0,5.5,4.5,3.0,4.5],[4.5,3.5,6.0,3.0,4.0,3.5,3.0,5.0,6.5,4.0,5.0,6.0]] (averages testdata))