Commit Graph

11 Commits (bbee19367901938f3b5014cc80f0037a9b569a94)

Author SHA1 Message Date
Carlo Strub bbee193679 improve memory footprint 7 years ago
Carlo Strub 87b51ebee0 glide up. load mails correctly before learning or classifying them.
improve some logging messages
7 years ago
Carlo Strub 3c665ed446 classify also if nothing have ever been learned 7 years ago
Carlo Strub 5413fdb4d4 Do not calculate harmonic mean if there is no probability -- otherwise
it crashes
7 years ago
Carlo Strub 1e67467307 use logrus properly (fixes #1) 7 years ago
Carlo Strub 04cc804722 replace log by logrus 7 years ago
Carlo Strub 276e665172 wrong prior calculation 7 years ago
Carlo Strub 36a3cb6374 make gometalinter happier 7 years ago
Carlo Strub f76bfbd6eb add classify test and fix other tests 7 years ago
Carlo Strub 639ffadfe3 fix some static code errors 7 years ago
Carlo Strub b5b3792efe implement learning and classifying using Bayes' rule and Hyperloglog
data structures -- still way to go though.
7 years ago