{-# LANGUAGE OverloadedStrings #-}
module Duckling.Ranking.Classifiers.BG_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
0.7308875085427924, 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
"", Double
0.0)], n :: Int
n = Int
13},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.6567795363890705, 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
"", Double
0.0)], n :: Int
n = Int
14}}),
(Text
"noon|midnight|EOD|end of day",
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.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}}),
(Text
"from|since|after <time>",
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
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 [], 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.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
"noon|midnight|EOD|end of day", -Double
2.0149030205422647),
(Text
"day", -Double
1.6094379124341003),
(Text
"the <day-of-month> (number)", -Double
1.6094379124341003),
(Text
"time-of-day (latent)", -Double
1.6094379124341003),
(Text
"hour", -Double
1.3217558399823195)],
n :: Int
n = Int
5}}),
(Text
"<day-of-month> (ordinal or number) <named-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
2.833213344056216,
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
"ordinals (first..19th)March", -Double
2.0794415416798357),
(Text
"integer (numeric)April", -Double
2.0794415416798357),
(Text
"integer (numeric)August", -Double
2.0794415416798357),
(Text
"integer (numeric)February", -Double
2.0794415416798357),
(Text
"month", -Double
0.9808292530117262),
(Text
"integer (numeric)March", -Double
2.0794415416798357)],
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.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 [], 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
1.0986122886681098,
unseen :: Double
unseen = -Double
2.3025850929940455,
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
"hourhour", -Double
1.0986122886681098),
(Text
"at <time-of-day>part of days", -Double
1.5040773967762742),
(Text
"time-of-day (latent)part of days", -Double
1.5040773967762742)],
n :: Int
n = Int
2},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.40546510810816444,
unseen :: Double
unseen = -Double
2.639057329615259,
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
"the <day-of-month> (number)part of days",
-Double
1.1786549963416462),
(Text
"hourhour", -Double
1.8718021769015913),
(Text
"time-of-day (latent)part of days", -Double
1.8718021769015913)],
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.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
"at <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.1823215567939546, 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
"<time-of-day> am", -Double
2.0149030205422647),
(Text
"time-of-day (latent)", -Double
1.3217558399823195),
(Text
"hh:mm", -Double
2.0149030205422647), (Text
"hour", -Double
1.0986122886681098),
(Text
"minute", -Double
2.0149030205422647)],
n :: Int
n = Int
5},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
1.791759469228055, 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
"time-of-day (latent)", -Double
1.252762968495368),
(Text
"hour", -Double
1.252762968495368)],
n :: Int
n = Int
1}}),
(Text
"absorption of , after named 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
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
"Monday", -Double
0.6931471805599453), (Text
"day", -Double
0.6931471805599453)],
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
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
"tonight",
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
"<time-of-day> pm",
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.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
"hh:mm", -Double
1.0986122886681098),
(Text
"minute", -Double
1.0986122886681098)],
n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.6931471805599453,
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
"time-of-day (latent)", -Double
1.0986122886681098),
(Text
"hour", -Double
1.0986122886681098)],
n :: Int
n = Int
1}}),
(Text
"October",
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
"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.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
"<time-of-day> o'clock",
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
"time-of-day (latent)", -Double
0.6931471805599453),
(Text
"hour", -Double
0.6931471805599453)],
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
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
"in|within|after <duration>",
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
"day", -Double
1.252762968495368), (Text
"year", -Double
1.252762968495368),
(Text
"<integer> <unit-of-duration>", -Double
0.8472978603872037)],
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
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
"hour (grain)",
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.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}}),
(Text
"intersect",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.3364722366212129,
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
"daymonth", -Double
2.3978952727983707),
(Text
"monthyear", -Double
2.3978952727983707),
(Text
"Octoberyear (latent)", -Double
2.3978952727983707),
(Text
"todayat <time-of-day>", -Double
2.3978952727983707),
(Text
"dayday", -Double
2.3978952727983707),
(Text
"absorption of , after named day<day-of-month> (ordinal or number) <named-month>",
-Double
2.3978952727983707),
(Text
"dayyear", -Double
2.3978952727983707),
(Text
"the <day-of-month> (ordinal)March", -Double
2.3978952727983707),
(Text
"<day-of-month> (ordinal or number) <named-month>year (latent)",
-Double
2.3978952727983707),
(Text
"dayminute", -Double
2.3978952727983707)],
n :: Int
n = Int
5},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
1.252762968495368, unseen :: Double
unseen = -Double
2.833213344056216,
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
2.0794415416798357),
(Text
"monthyear", -Double
2.0794415416798357),
(Text
"todayat <time-of-day>", -Double
2.0794415416798357),
(Text
"Aprilyear (latent)", -Double
2.0794415416798357)],
n :: Int
n = Int
2}}),
(Text
"after lunch/work/school",
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.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}}),
(Text
"in <number> (implicit minutes)",
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
"integer (numeric)", Double
0.0)],
n :: Int
n = Int
2}}),
(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.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
"Saturday",
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
"year (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
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
"integer (numeric)", 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
"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.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
"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
"April",
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
"<time-of-day> am",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.2876820724517809,
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
"at <time-of-day>", -Double
1.7047480922384253),
(Text
"time-of-day (latent)", -Double
1.7047480922384253),
(Text
"hh:mm", -Double
1.7047480922384253), (Text
"hour", -Double
1.2992829841302609),
(Text
"minute", -Double
1.7047480922384253)],
n :: Int
n = Int
3},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
1.3862943611198906,
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
"time-of-day (latent)", -Double
1.252762968495368),
(Text
"hour", -Double
1.252762968495368)],
n :: Int
n = Int
1}}),
(Text
"week (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.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
"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
"this <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.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
"tonight", -Double
1.252762968495368), (Text
"hour", -Double
0.8472978603872037),
(Text
"part of days", -Double
1.252762968495368)],
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
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
"Friday",
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
3.044522437723423,
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
"week", -Double
1.6094379124341003),
(Text
"month (grain)", -Double
2.3025850929940455),
(Text
"year (grain)", -Double
1.6094379124341003),
(Text
"week (grain)", -Double
1.6094379124341003),
(Text
"year", -Double
1.6094379124341003), (Text
"month", -Double
2.3025850929940455)],
n :: Int
n = Int
7},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, 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 [], n :: Int
n = Int
0}}),
(Text
"<time> after next",
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
"Friday", -Double
0.6931471805599453), (Text
"day", -Double
0.6931471805599453)],
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
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
"the <day-of-month> (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
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
"ordinals (first..19th)", 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
"the <day-of-month> (number)",
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.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
"integer (numeric)", Double
0.0)],
n :: Int
n = Int
5}}),
(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.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
"February",
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
"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.8109302162163288,
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
"integer (numeric)", -Double
0.40546510810816444),
(Text
"number (0..19)", -Double
1.0986122886681098)],
n :: Int
n = Int
4},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.587786664902119, 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
"integer (numeric)", -Double
0.15415067982725836)],
n :: Int
n = Int
5}}),
(Text
"<integer> <unit-of-duration>",
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.3978952727983707,
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)day (grain)", -Double
1.6094379124341003),
(Text
"integer (numeric)year (grain)", -Double
1.6094379124341003),
(Text
"day", -Double
1.6094379124341003), (Text
"year", -Double
1.6094379124341003)],
n :: Int
n = Int
2},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
1.0986122886681098,
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
"hour", -Double
1.3862943611198906),
(Text
"integer (numeric)hour (grain)", -Double
1.3862943611198906)],
n :: Int
n = Int
1}}),
(Text
"ordinals (first..19th)",
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
"on <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
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
"day", -Double
0.6931471805599453),
(Text
"the <day-of-month> (ordinal)", -Double
0.6931471805599453)],
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
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
"a <unit-of-duration>",
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
2.3978952727983707,
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
3.4339872044851463,
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
"week", -Double
2.0149030205422647),
(Text
"month (grain)", -Double
2.70805020110221),
(Text
"hour (grain)", -Double
2.70805020110221),
(Text
"year (grain)", -Double
1.791759469228055),
(Text
"week (grain)", -Double
2.0149030205422647),
(Text
"day", -Double
2.70805020110221), (Text
"year", -Double
1.791759469228055),
(Text
"hour", -Double
2.70805020110221), (Text
"month", -Double
2.70805020110221),
(Text
"day (grain)", -Double
2.70805020110221)],
n :: Int
n = Int
10}}),
(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.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
"number (0..19)",
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
"intersect by \",\", \"of\", \"from\", \"'s\"",
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
"Monday<day-of-month> (ordinal or number) <named-month>",
-Double
0.6931471805599453),
(Text
"dayday", -Double
0.6931471805599453)],
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
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
"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
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
"Christmas",
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
"dd.mm.yyyy",
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
"decimal number",
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.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
"<day-of-month>(ordinal or number)/<named-month>/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.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
"integer (numeric)April", -Double
0.6931471805599453),
(Text
"month", -Double
0.6931471805599453)],
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
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
"next <time>",
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.3025850929940455,
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
"day", -Double
1.5040773967762742), (Text
"March", -Double
1.5040773967762742),
(Text
"month", -Double
1.5040773967762742),
(Text
"Tuesday", -Double
1.5040773967762742)],
n :: Int
n = Int
2},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
1.0986122886681098,
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
"Friday", -Double
1.252762968495368), (Text
"day", -Double
1.252762968495368)],
n :: Int
n = Int
1}}),
(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.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
"<named-month> year",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
1.0986122886681098, 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
"October", -Double
0.916290731874155), (Text
"month", -Double
0.916290731874155)],
n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.40546510810816444,
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
"April", -Double
0.8472978603872037), (Text
"month", -Double
0.8472978603872037)],
n :: Int
n = Int
2}}),
(Text
"winter",
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
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
"Aprilinteger (numeric)", -Double
0.6931471805599453),
(Text
"month", -Double
0.6931471805599453)],
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
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
"this|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.40546510810816444,
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
"Monday", -Double
1.3862943611198906), (Text
"day", -Double
0.9808292530117262),
(Text
"Tuesday", -Double
1.3862943611198906)],
n :: Int
n = Int
2},
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
"Friday", -Double
1.0986122886681098), (Text
"day", -Double
1.0986122886681098)],
n :: Int
n = Int
1}}),
(Text
"day (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.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
"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
"intersect by \",\", \"of\", \"from\" for 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.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
"dayyear", -Double
0.6931471805599453),
(Text
"<named-month> <day-of-month> (non ordinal)year (latent)",
-Double
0.6931471805599453)],
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
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
"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.6931471805599453,
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
0.6931471805599453,
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
"summer",
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
"this <time>",
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.3978952727983707,
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
"Monday", -Double
1.6094379124341003), (Text
"day", -Double
0.916290731874155),
(Text
"winter", -Double
1.6094379124341003),
(Text
"summer", -Double
1.6094379124341003)],
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.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
"August",
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}})]