1. 05 juin, 2019 1 validation
    • tianqiyang's avatar
      Bruyang (#1075) · 1bd75195
      tianqiyang a écrit
      * add monte carlo tree search
      
      * add comments to mcts
      
      * change model based reflex agent
      
      * add games4e.py
      
      * recover games4e.ipynb
      
      * add tests to mcts
      1bd75195
  2. 15 mar., 2019 1 validation
    • Rajat Jain's avatar
      Reworked PriorityQueue and Added Tests (#1025) · fb57e952
      Rajat Jain a écrit
      * Reworked PriorityQueue spec
      
      Modified:
      - Priority Queue methods:
          queue[elem] now returns the first value of elem stored in queue
          elem in queue now correctly returns whether a copy of element is present regardless of the function value. Apparently the bug was introduced while trying to meet heapq spec
          del queue[elem] deletes the first instance of elem in queue correctly
      - Algorithms
          Same change in best_first_graph_search in romania_problem.py and search.py to make them compatible with the new spec
      - Tests
          Introduced 3 tests in test_utils.py to comprehensively test PriorityQueue's new spec
      
      * Reworked PriorityQueue spec
      
      Modified:
      - Priority Queue methods:
          queue[elem] now returns the first value of elem stored in queue
          elem in queue now correctly returns whether a copy of element is present regardless of the function value. Apparently the bug was introduced while trying to meet heapq spec
          del queue[elem] deletes the first instance of elem in queue correctly
      - Algorithms
          Same change in best_first_graph_search in romania_problem.py and search.py to make them compatible with the new spec
      - Tests
          Introduced 3 tests in test_utils.py to comprehensively test PriorityQueue's new spec
      fb57e952
  3. 31 jan., 2019 1 validation
  4. 30 jan., 2019 2 validations
  5. 25 jan., 2019 1 validation
  6. 06 jan., 2019 2 validations
  7. 04 oct., 2018 1 validation
  8. 28 sept., 2018 1 validation
    • DKE's avatar
      Change PriorityQueue expansion (#962) · eee83f64
      DKE a écrit
      `self.heap.append` simply appends to the end of the `self.heap` 
      Since `self.heap` is just a python list. 
      `self.append` calls the append method of the class instance, effectively putting the item in its proper place.
      eee83f64
  9. 19 sept., 2018 1 validation
  10. 24 mar., 2018 1 validation
  11. 09 mar., 2018 1 validation
    • Peter Norvig's avatar
      Add injection · aa6664f4
      Peter Norvig a écrit
      A new function, `injection` for dependency injection of globals (for classes and functions that weren't designed for dependency injection).
      aa6664f4
  12. 23 fév., 2018 1 validation
  13. 19 oct., 2017 1 validation
  14. 02 août, 2017 1 validation
  15. 24 juil., 2017 2 validations
    • Anthony Marakis's avatar
      Implementation: Current Best Learning (#593) · b0227916
      Anthony Marakis a écrit
      * Update README.md
      
      * add powerset to utils
      
      * add powerset test
      
      * Create knowledge.py
      
      * Create test_knowledge.py
      
      * add header docstring to knowledge.py
      
      * update learning docstring
      
      * minor edits in knowledge.py
      b0227916
    • C.G.Vedant's avatar
      SVD (#592) · b5612990
      C.G.Vedant a écrit
      * Fixed truncated_svd
      
      * Moved SVD algorithm to learning.py
      b5612990
  16. 19 juil., 2017 1 validation
  17. 13 juin, 2017 1 validation
  18. 08 juin, 2017 1 validation
    • Antonis Maronikolakis's avatar
      Moving Grid to Utils (#540) · 342d6a3a
      Antonis Maronikolakis a écrit
      * Delete test_grid.py
      
      * Delete grid.ipynb
      
      * Delete grid.py
      
      * Move grid functions to utils
      
      * Move grid tests to utils
      
      * Update agents.py
      
      * Update mdp.py
      
      * Update search.py
      342d6a3a
  19. 28 mai, 2017 1 validation
  20. 24 mai, 2017 1 validation
  21. 17 avr., 2017 2 validations
  22. 12 avr., 2017 1 validation
    • C.G.Vedant's avatar
      Changes to hashable dict (#482) · f9f6ecf3
      C.G.Vedant a écrit
      * Adds hashable dict type
      
      * Implemented permutation decoder
      
      * added test for permutation decode
      
      * Optimized permutationdecoder
      
      * relaxed tests
      
      * uses isinstance
      f9f6ecf3
  23. 06 avr., 2017 2 validations
  24. 25 mar., 2017 2 validations
  25. 22 mar., 2017 1 validation
    • Angira Sharma's avatar
      added double_tennis_problem to planning.py; and minor pep8 edits (#373) · 581fa6be
      Angira Sharma a écrit
      * Update test_agents.py
      
      pep8 changes, showed flake8 errors
      
      * Update test_agents.py
      
      * Update test_agents.py
      
      * Update test_agents.py
      
      * Update test_text.py
      
      added missing whitespace after comma
      
      * Update utils.py
      
      added space after comma
      
      * Update search.py
      
      added space after comma
      
      * Update probability.py
      
      added space after comma
      
      * Update learning.py
      
      added space after comma
      
      * Update planning.py
      
      added double_tennis_problem
      
      * Update rl.py
      
      In the pseudocode figure 21.8, the first 'if' starts with argument 's', which is the previous state, not s1(i.e, the current state).
      
      * Update search.py
      
      the 'uniform_cost_search' in notebook 'search-4e.ipynb' resembles more to the pseudocode in book.
      
      * Update search.py
      
      * Update search.py
      
      * Update search.py
      581fa6be
  26. 18 mar., 2017 2 validations
  27. 07 mar., 2017 2 validations
  28. 03 mar., 2017 1 validation
    • Antonis Maronikolakis's avatar
      Commenting Fixes (#294) · a6e31924
      Antonis Maronikolakis a écrit
      * Update search.py
      
      Commenting issues fixed (spacing and punctuation was off sometimes).
      
      * Update agents.py
      
      * Update canvas.py
      
      Grammar
      
      * Update grid.py
      
      * Update learning.py
      
      Added period
      
      * Update logic.py
      
      Fix quoting
      
      * Update mdp.py
      
      Fixed quoting
      
      * Update nlp.py
      
      Capitalization and punctuation fixes
      
      * Update planning.py
      
      * Update probability.py
      
      * Update rl.py
      
      'th' to 'the'
      
      * Update search.py
      
      * Update text.py
      
      * Update utils.py
      
      * Update utils.py
      
      * Update utils.py
      
      * Update learning.py
      
      Typo
      
      * Update utils.py
      a6e31924
  29. 06 août, 2016 2 validations
  30. 20 juin, 2016 1 validation
  31. 18 avr., 2016 1 validation