{-# LANGUAGE OverloadedStrings #-}
module Duckling.Ranking.Classifiers.HU_XX (classifiers) where
import Data.String
import Prelude
import qualified Data.HashMap.Strict as HashMap
import Duckling.Ranking.Types
classifiers :: Classifiers
classifiers :: Classifiers
classifiers
= [(Text, Classifier)] -> Classifiers
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"Thursday",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"integer (numeric)",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
1.2205021062771466, unseen :: Double
unseen = -Double
2.995732273553991,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
18},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.3496737484797488,
unseen :: Double
unseen = -Double
3.8066624897703196,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
43}}),
(Text
"pm <time-of-day>",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
3.1354942159291497,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"time-of-day (latent)", -Double
0.6931471805599453),
(Text
"hour", -Double
0.6931471805599453)],
n :: Int
n = Int
10},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"<time> <part-of-day>",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.5108256237659907, unseen :: Double
unseen = -Double
2.995732273553991,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"dayhour", -Double
0.9985288301111273),
(Text
"todaypart of days", -Double
1.3350010667323402),
(Text
"tomorrowpart of days", -Double
2.2512917986064953),
(Text
"yesterdaypart of days", -Double
2.2512917986064953)],
n :: Int
n = Int
6},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.916290731874155, unseen :: Double
unseen = -Double
2.772588722239781,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"dayhour", -Double
1.0986122886681098),
(Text
"next <day-of-week>part of days", -Double
2.0149030205422647),
(Text
"yyyy.mm.ddpart of days", -Double
2.0149030205422647),
(Text
"Wednesdaypart of days", -Double
1.6094379124341003)],
n :: Int
n = Int
4}}),
(Text
"today",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.9459101490553135,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
5},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"month (grain)",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.3862943611198906,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
2},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"January",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.6094379124341003,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
3},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"Wednesday",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.0794415416798357,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
6},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"intersect",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.40546510810816444,
unseen :: Double
unseen = -Double
3.713572066704308,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"dayhour", -Double
1.0498221244986778),
(Text
"yyyy.mm.ddhh:mm", -Double
2.995732273553991),
(Text
"Wednesdaypm <time-of-day>", -Double
2.3025850929940455),
(Text
"todaypart of days", -Double
2.0794415416798357),
(Text
"yyyy.mm.ddpm <time-of-day>", -Double
2.995732273553991),
(Text
"dayminute", -Double
2.995732273553991),
(Text
"tomorrowpart of days", -Double
2.995732273553991),
(Text
"next <day-of-week>pm <time-of-day>", -Double
2.3025850929940455),
(Text
"yesterdaypart of days", -Double
2.995732273553991)],
n :: Int
n = Int
14},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
1.0986122886681098, unseen :: Double
unseen = -Double
3.295836866004329,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"dayhour", -Double
1.1786549963416462),
(Text
"next <day-of-week>part of days", -Double
2.5649493574615367),
(Text
"Wednesdaypm <time-of-day>", -Double
1.8718021769015913),
(Text
"yyyy.mm.ddpart of days", -Double
2.5649493574615367),
(Text
"Wednesdaypart of days", -Double
2.159484249353372)],
n :: Int
n = Int
7}}),
(Text
"year (grain)",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.3862943611198906,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
2},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"day before yesterday",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"Monday",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.6094379124341003,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
3},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"yesterday",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.3862943611198906,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
2},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"hh:mm:ss",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.6094379124341003,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
3},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"am <time-of-day>",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.1972245773362196,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"time-of-day (latent)", -Double
0.6931471805599453),
(Text
"hour", -Double
0.6931471805599453)],
n :: Int
n = Int
3},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"end of month",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.3862943611198906,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
2},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"tomorrow",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.3862943611198906,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
2},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"this|last|next <cycle>",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.5649493574615367,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"month (grain)", -Double
1.3862943611198906),
(Text
"year (grain)", -Double
1.3862943611198906),
(Text
"year", -Double
1.3862943611198906), (Text
"month", -Double
1.3862943611198906)],
n :: Int
n = Int
4},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
1.6094379124341003,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"next <day-of-week>",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.4849066497880004,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"Thursday", -Double
1.7047480922384253),
(Text
"Wednesday", -Double
1.0116009116784799),
(Text
"day", -Double
0.7884573603642702)],
n :: Int
n = Int
4},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
1.3862943611198906,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"Sunday",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.6094379124341003,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
3},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"time-of-day (latent)",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.70805020110221,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"integer (numeric)", Double
0.0)],
n :: Int
n = Int
13},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"hh:mm",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.6931471805599453, unseen :: Double
unseen = -Double
1.791759469228055,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
4},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.6931471805599453, unseen :: Double
unseen = -Double
1.791759469228055,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
4}}),
(Text
"March",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.4849066497880004,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
10},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"yyyy.mm.dd",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.0794415416798357,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
6},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"number (0..10)",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.3862943611198906,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
2}}),
(Text
"Tuesday",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"<named-month> <day-of-month> (non ordinal)",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.5649493574615367,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"Marchinteger (numeric)", -Double
0.6931471805599453),
(Text
"month", -Double
0.6931471805599453)],
n :: Int
n = Int
5},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"ordinal (digits)",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.1972245773362196,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
7}}),
(Text
"seasons",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"mm.dd",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.791759469228055,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
4},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"right now",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.3862943611198906,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
2},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"end of year",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.3862943611198906,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
2},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"day after tomorrow",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"part of days",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.40546510810816444,
unseen :: Double
unseen = -Double
2.4849066497880004,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
10},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
1.0986122886681098,
unseen :: Double
unseen = -Double
1.9459101490553135,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
5}})]