- 24 mar., 2016 2 validations
-
-
Larry He a écrit
Cast was not needed since the return value was already being cast. Query function changed to use heapq.nlargest() for simplicity
-
Larry He a écrit
Problems fixed: Replaced cmp: 1 instance in line 323 of search.py Convert set() to {}: 3 instances in line 29 of MDP.py, line 181 and 215 of search.py Convert .sort() to sorted(): 1 instance in line 150 of text.py Cast map to list: 1 instance in line 47 of grid.py
-
- 11 mar., 2016 1 validation
-
-
Lucas Moura a écrit
-
- 10 mar., 2016 1 validation
-
-
MircoT a écrit
-
- 09 mar., 2016 1 validation
-
-
MircoT a écrit
- Fix relative imports in base of is a package or not - Fix not working notebooks - Add notebooks to packages sources
-
- 06 mar., 2016 5 validations
- 05 mar., 2016 1 validation
-
-
norvig a écrit
These functions, which I had to implement in Python 2.2, are now available in standard Python.
-
- 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
-