1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00

📝 FeatureVector.

This commit is contained in:
Rob Rix 2017-10-27 16:05:27 -04:00
parent 74c534a08f
commit 368e50f7f2

View File

@ -10,6 +10,9 @@ import GHC.Prim
import GHC.Types
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#
!Double# !Double# !Double# !Double# !Double#
!Double# !Double# !Double# !Double# !Double#