1. 29 juil., 2019 1 validation
    • Donato Meoli's avatar
      added map coloring SAT problem (#1092) · 37110de1
      Donato Meoli a écrit
      * changed queue to set in AC3
      
      Changed queue to set in AC3 (as in the pseudocode of the original algorithm) to reduce the number of consistency-check due to the redundancy of the same arcs in queue. For example, on the harder1 configuration of the Sudoku CSP the number consistency-check has been reduced from 40464 to 12562!
      
      * re-added test commented by mistake
      
      * added the mentioned AC4 algorithm for constraint propagation
      
      AC3 algorithm has non-optimal worst case time-complexity O(cd^3 ), while AC4 algorithm runs in O(cd^2) worst case time
      
      * added doctest in Sudoku for AC4 and and the possibility of choosing the constant propagation algorithm in mac inference
      
      * removed useless doctest for AC4 in Sudoku because AC4's tests are already present in test_csp.py
      
      * added map coloring SAT problems
      
      * fixed typo errors and removed unnecessary brackets
      
      * reformulated the map coloring problem
      
      * Revert "reformulated the map coloring problem"
      
      This reverts commit 20ab0e5afa238a0556e68f173b07ad32d0779d3b.
      
      * Revert "fixed typo errors and removed unnecessary brackets"
      
      This reverts commit f743146c43b28e0525b0f0b332faebc78c15946f.
      
      * Revert "added map coloring SAT problems"
      
      This reverts commit 9e0fa550e85081cf5b92fb6a3418384ab5a9fdfd.
      
      * Revert "removed useless doctest for AC4 in Sudoku because AC4's tests are already present in test_csp.py"
      
      This reverts commit b3cd24c511a82275f5b43c9f176396e6ba05f67e.
      
      * Revert "added doctest in Sudoku for AC4 and and the possibility of choosing the constant propagation algorithm in mac inference"
      
      This reverts commit 6986247481a05f1e558b93b2bf3cdae395f9c4ee.
      
      * Revert "added the mentioned AC4 algorithm for constraint propagation"
      
      This reverts commit 03551fbf2aa3980b915d4b6fefcbc70f24547b03.
      
      * added map coloring SAT problem
      
      * fixed build error
      
      * Revert "added map coloring SAT problem"
      
      This reverts commit 93af259e4811ddd775429f8a334111b9dd9e268c.
      
      * Revert "fixed build error"
      
      This reverts commit 6641c2c861728f3d43d3931ef201c6f7093cbc96.
      
      * added map coloring SAT problem
      
      * removed redundant parentheses
      37110de1
  2. 27 juil., 2019 1 validation
    • tianqiyang's avatar
      add perception and tests (#1091) · c6406934
      tianqiyang a écrit
      * add perceotion and tests
      
      * upadte requirements
      
      * fix typo
      
      * add utils and images for perception
      
      * fix build error
      
      * comment the last 2 agent tests
      
      * fix build error
      
      * change cnn test
      c6406934
  3. 19 juil., 2019 1 validation
  4. 08 juil., 2019 1 validation
  5. 05 juin, 2019 3 validations
    • Ashish Gupta's avatar
      added class Tfidf (#1054) · 16b2693f
      Ashish Gupta a écrit
      * Implementing Class Tfidf
      
      * added class of Tfidf
      * added scoring function BM25
      
      * Revert "Implementing Class Tfidf"
      16b2693f
    • Rajat Jain's avatar
      Added coverage report generation to Travis (#1058) · e8f462f6
      Rajat Jain a écrit
      Added:
       - .coveragerc file to configure report generation
      Modified:
       - .travis.yml to start generating reports during build
      e8f462f6
    • 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
  6. 04 juin, 2019 1 validation
  7. 09 mai, 2019 1 validation
  8. 18 avr., 2019 1 validation
  9. 17 avr., 2019 1 validation
  10. 15 avr., 2019 1 validation
  11. 13 avr., 2019 1 validation
  12. 12 avr., 2019 1 validation
  13. 09 avr., 2019 1 validation
  14. 02 avr., 2019 3 validations
  15. 29 mar., 2019 1 validation
    • Rajat Jain's avatar
      Rework agents.ipynb (#1031) · 6f158618
      Rajat Jain a écrit
      * Reworked Introduction and 1-D environment in agents.py
      
      Added:
       - Table of Contents and overview
       - A miniscule explanation of all required code from agents.py
      Modified:
       - Some grammar and sentences
       - Structure of the notebook in 1-D environments to make it more coherent
      Removed:
       - Outputs from notebook (Makes VCS tough and bugs tough to detect)
      
      * Reworked agents in a 2D environment
      
      Modified:
       - Removed global variable turn from 2D park model: Agent programs are not supposed to see anything except percepts
       - Bump percept is now generated when Dog is about to bump into a wall
       - Replaced all XYEnvironment with GraphicEnvironment - Gives better readability to both code and output (Previous way of just showing GraphicEnvironment in the end was redundant imo)
       - Restructured the 2D park and EnergeticBlindDog environment scenario to be more readable
      Removed:
       - Redundant Park2D without graphics (subclass of XYEnvironment)
      
      * Fixed issue #1030
      
      Added:
       - ipython and ipythonblocks packages to requirements.txt
      
      * Has some typographic improvements in agents.ipynb
      
      * Added output to agents.ipynb
      6f158618
  16. 28 mar., 2019 1 validation
    • Donato Meoli's avatar
      changed queue to set in AC3 (#1051) · 7892bea4
      Donato Meoli a écrit
      * changed queue to set in AC3
      
      Changed queue to set in AC3 (as in the pseudocode of the original algorithm) to reduce the number of consistency-check due to the redundancy of the same arcs in queue. For example, on the harder1 configuration of the Sudoku CSP the number consistency-check has been reduced from 40464 to 12562!
      
      * re-added test commented by mistake
      7892bea4
  17. 26 mar., 2019 1 validation
  18. 15 mar., 2019 2 validations
    • Sagar's avatar
      closing the old cell window (#996) · 5e5b51c4
      Sagar a écrit
      5e5b51c4
    • 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
  19. 10 mar., 2019 2 validations
  20. 05 mar., 2019 2 validations
  21. 03 mar., 2019 1 validation
  22. 28 fév., 2019 1 validation
  23. 21 fév., 2019 1 validation
  24. 14 fév., 2019 4 validations
  25. 12 fév., 2019 1 validation
  26. 01 fév., 2019 2 validations
  27. 31 jan., 2019 1 validation
  28. 30 jan., 2019 2 validations