mirror of
https://github.com/github/semantic.git
synced 2024-11-28 18:23:44 +03:00
📝 FeatureVector.
This commit is contained in:
parent
74c534a08f
commit
368e50f7f2
@ -10,6 +10,9 @@ import GHC.Prim
|
|||||||
import GHC.Types
|
import GHC.Types
|
||||||
import System.Random.Mersenne.Pure64
|
import System.Random.Mersenne.Pure64
|
||||||
|
|
||||||
|
-- | A 15-dimensional feature vector represented with machine doubles.
|
||||||
|
--
|
||||||
|
-- 15 dimensions ought to be enough for anyone. cf §5.2 of RWS-Diff: “We obtained best results with 10 ≤ d ≤ 20.”
|
||||||
data FeatureVector = FV !Double# !Double# !Double# !Double# !Double#
|
data FeatureVector = FV !Double# !Double# !Double# !Double# !Double#
|
||||||
!Double# !Double# !Double# !Double# !Double#
|
!Double# !Double# !Double# !Double# !Double#
|
||||||
!Double# !Double# !Double# !Double# !Double#
|
!Double# !Double# !Double# !Double# !Double#
|
||||||
|
Loading…
Reference in New Issue
Block a user