- 04 nov., 2011 1 validation
-
-
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.
-
- 29 oct., 2011 4 validations
-
-
withal a écrit
-
withal a écrit
-
withal a écrit
-
withal a écrit
* graph_search missed deduping nodes in the frontier * astar_search didn't use 3rd-edition pseudocode * InstrumentedProblem didn't forward the path_cost method, so all the doctest results on instrumented cost-sensitive problems were wrong Also filled in breadth_first_search and per-node memoization of h (to fulfill the doc comment saying that was done). There's a remaining problem that sometimes trivial refactorings change the amount of search that is done, slightly, which should not happen since the code is supposed to be deterministic.
-
- 28 oct., 2011 1 validation
-
-
withal a écrit
Don't compare strings with 'is not'. (Broke things in pypy.) Also show Struct members in sorted order so doctests work in pypy.
-
- 26 oct., 2011 1 validation
-
-
withal a écrit
-
- 23 oct., 2011 4 validations
- 19 oct., 2011 1 validation
-
-
withal a écrit
-
- 11 oct., 2011 1 validation
-
-
withal a écrit
-
- 10 oct., 2011 1 validation
-
-
withal a écrit
-
- 09 oct., 2011 1 validation
-
-
withal a écrit
-
- 06 oct., 2011 1 validation
-
-
withal a écrit
-
- 28 sept., 2011 1 validation
-
-
withal a écrit
-
- 02 sept., 2011 1 validation
-
-
withal a écrit
-
- 01 sept., 2011 1 validation
-
-
withal a écrit
-
- 28 août, 2011 2 validations
- 13 jan., 2008 1 validation
-
-
peter.norvig a écrit
-
- 25 nov., 2007 1 validation
-
-
peter.norvig a écrit
-
- 13 juin, 2007 1 validation
-
-
peter.norvig a écrit
-