- 14 nov., 2011 1 validation
-
-
withal a écrit
Move CountingProbDist to learning.py and use it in NaiveBayesLearner. Make NaiveBayesLearner use target-value frequencies too.
-
- 04 nov., 2011 3 validations
-
-
withal a écrit
-
withal a écrit
-
withal a écrit
* Use weighted_sampler() for the sampling. * By not using a defaultdict, keep n_obs always up to date. * Don't inherit from ProbDist, at least for now, since we don't use anything from the superclass, and if we did it would break (e.g. __setitem__). * Remove __len__ since nobody uses it. * Use heapq.nlargest. Also separate random doctests from others, and tweak docs.
-
- 23 oct., 2011 1 validation
-
-
withal a écrit
-
- 11 oct., 2011 2 validations
- 10 oct., 2011 1 validation
-
-
withal a écrit
-
- 05 oct., 2011 1 validation
-
-
withal a écrit
-
- 15 sept., 2011 2 validations
- 12 sept., 2011 1 validation
-
-
withal a écrit
-
- 27 août, 2011 1 validation
-
-
withal a écrit
-
- 13 jan., 2008 1 validation
-
-
peter.norvig a écrit
-
- 13 juin, 2007 1 validation
-
-
peter.norvig a écrit
-