1. 20 mar., 2016 1 validation
  2. 19 mar., 2016 3 validations
  3. 16 mar., 2016 2 validations
  4. 15 mar., 2016 1 validation
  5. 13 mar., 2016 2 validations
  6. 12 mar., 2016 3 validations
  7. 11 mar., 2016 3 validations
  8. 10 mar., 2016 1 validation
  9. 09 mar., 2016 1 validation
  10. 08 mar., 2016 2 validations
  11. 07 mar., 2016 1 validation
  12. 06 mar., 2016 6 validations
  13. 05 mar., 2016 9 validations
  14. 04 mar., 2016 3 validations
    • utk1610's avatar
      Update utils.py · 0f99f6a1
      utk1610 a écrit
      To make product to work in python 3+ , loop over the list
      Or in case if you want to make the code precise  import following statment and change the return statment
      import operator
      import functools
      return functools.reduce(operator.mul, numbers, 1)
      0f99f6a1
    • Varshit's avatar
      Fix import re error · f927a6f9
      Varshit a écrit
      f927a6f9
    • norvig's avatar
      Convert utils.py to Python 3 · 523936c2
      norvig a écrit
      523936c2
  15. 04 nov., 2011 1 validation
    • withal's avatar
      Refactor CountingProbDist: · 7be52df7
      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.
      7be52df7
  16. 29 oct., 2011 1 validation