1. 06 mar., 2016 6 validations
  2. 05 mar., 2016 9 validations
  3. 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
  4. 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
  5. 29 oct., 2011 4 validations
  6. 28 oct., 2011 1 validation
  7. 26 oct., 2011 1 validation
  8. 23 oct., 2011 4 validations
  9. 19 oct., 2011 1 validation
  10. 11 oct., 2011 1 validation
  11. 10 oct., 2011 1 validation
  12. 09 oct., 2011 1 validation
  13. 06 oct., 2011 1 validation
  14. 28 sept., 2011 1 validation
  15. 02 sept., 2011 1 validation
  16. 01 sept., 2011 1 validation
  17. 28 août, 2011 2 validations
  18. 13 jan., 2008 1 validation