-
Notifications
You must be signed in to change notification settings - Fork 0
last update #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
last update #2
Conversation
* Enhanced explanation of value iteration * Fixed minor typo
* Fixed reset function to reset placeholder variables as well * Added functionality to display best policy
* Update learning.py * Update test_learning.py
* Added tests for information_content Added some tests for information_content function from learning.py * Added test for information_content
* Update README.md
* Add test for table driven agent * Some style fixes * Added done to tabledrivenagent test in readme * Added randomAgentProgram test to test_agents.py * Added Import randomAgentProgram * Style fixes * Added the done tag tp tabledrivenagent test
* Fixed typos and added inline LaTeX * Fixed more backslashes
* Added mdp_apps notebook * Added images * LaTeX formatting errors fixed
* Add tests for TableDrivenAgentProgram * Add tests for TableDrivenAgentProgram * Check environment status at every step * Check environment status at every step of TableDrivenAgentProgram
* Added pathfinding example * Added images
* Create model classes for backgammon * Add game functions to model * Implement expectiminimax function * Correct logic in some functions * Correct expectiminimax logic * Refactor code and add docstrings * Remove print statements
…rch (#1147) * ENH: all problems can now use BS * TST: add test for all types of problems for BS
* Update search.ipynb * Update search.ipynb
…nd fixed NeuralNetLearner and PerceptronLearner (#1163)
* fixed grabbing behaviour in agent * fixed the grabbing issues and itegrated into wumpus environment * cleaned the code a bit * fixing the code space formatting * fixing format
make it clear that the word slot refers to instance attribute, so it won't be confused with __slots__ magic.
* update games.py connect 4 display method original code displays board sideways. Fixed display method to print board bottom down * update games.py add Gomoku game Trivially addition of Gomoku, thanks to flexible implementation of TicTacToe class
…on 3.8 and added svr with r2 and accuracy metrics (#1185)
* MinMax Player Added a MiniMax PLayer * Changed OP
* Revert "reformulated the map coloring problem" This reverts commit 20ab0e5. * Revert "fixed typo errors and removed unnecessary brackets" This reverts commit f743146. * Revert "added map coloring SAT problems" This reverts commit 9e0fa55. * Revert "removed useless doctest for AC4 in Sudoku because AC4's tests are already present in test_csp.py" This reverts commit b3cd24c. * Revert "added doctest in Sudoku for AC4 and and the possibility of choosing the constant propagation algorithm in mac inference" This reverts commit 6986247. * Revert "added the mentioned AC4 algorithm for constraint propagation" This reverts commit 03551fb. * added map coloring SAT problem * fixed build error * Revert "added map coloring SAT problem" This reverts commit 93af259. * Revert "fixed build error" This reverts commit 6641c2c. * added map coloring SAT problem * removed redundant parentheses * added Viterbi algorithm * added monkey & bananas planning problem * simplified condition in search.py * added tests for monkey & bananas planning problem * removed monkey & bananas planning problem * Revert "removed monkey & bananas planning problem" This reverts commit 9d37ae0. * Revert "added tests for monkey & bananas planning problem" This reverts commit 24041e9. * Revert "simplified condition in search.py" This reverts commit 6d229ce. * Revert "added monkey & bananas planning problem" This reverts commit c74933a. * defined the PlanningProblem as a specialization of a search.Problem & fixed typo errors * fixed doctest in logic.py * fixed doctest for cascade_distribution * added ForwardPlanner and tests * added __lt__ implementation for Expr * added more tests * renamed forward planner * Revert "renamed forward planner" This reverts commit c4139e5. * renamed forward planner class & added doc * added backward planner and tests * fixed mdp4e.py doctests * removed ignore_delete_lists_heuristic flag * fixed heuristic for forward and backward planners * added SATPlan and tests * fixed ignore delete lists heuristic in forward and backward planners * fixed backward planner and added tests * updated doc * added nary csp definition and examples * added CSPlan and tests * fixed CSPlan * added book's cryptarithmetic puzzle example * fixed typo errors in test_csp * fixed #1111 * added sortedcontainers to yml and doc to CSPlan * added tests for n-ary csp * fixed utils.extend * updated test_probability.py * converted static methods to functions * added AC3b and AC4 with heuristic and tests * added conflict-driven clause learning sat solver * added tests for cdcl and heuristics * fixed probability.py * fixed import * fixed kakuro * added Martelli and Montanari rule-based unification algorithm * removed duplicate standardize_variables * renamed variables known as built-in functions * fixed typos in learning.py * renamed some files and fixed typos * fixed typos * fixed typos * fixed tests * removed unify_mm * remove unnecessary brackets * fixed tests * moved utility functions to utils.py * fixed typos * moved utils function to utils.py, separated probability learning classes from learning.py, fixed typos and fixed imports in .ipynb files * added missing learners * fixed Travis build * fixed typos * fixed typos * fixed typos * fixed typos * fixed typos in agents files * fixed imports in agent files * fixed deep learning .ipynb imports * fixed typos * added SVM * added .ipynb and fixed typos * adapted code for .ipynb * fixed typos * updated .ipynb * updated .ipynb * updated logic.py * updated .ipynb * updated .ipynb * updated planning.py * updated inf definition * fixed typos * fixed typos * fixed typos * fixed typos * Revert "fixed typos" This reverts commit 658309d. * Revert "fixed typos" This reverts commit 08ad660. * fixed typos * fixed typos * fixed typos * fixed typos * fixed typos and utils imports in *4e.py files * fixed typos * fixed typos * fixed typos * fixed typos * fixed import * fixed typos * fixed typos * fixd typos * fixed typos * fixed typos * updated SVM * added svm test * fixed SVM and tests * fixed some definitions and typos * fixed svm and tests * added SVMs also in learning4e.py * fixed inf definition * fixed .travis.yml * fixed .travis.yml * fixed import * fixed inf definition * replaced cvxopt with qpsolvers * replaced cvxopt with quadprog * fixed some definitions * fixed typos and removed unnecessary tests * replaced quadprog with qpsolvers * fixed extend in utils * specified error type in try-catch block * fixed extend in utils * fixed typos * fixed learning.py * fixed doctest errors * added comments * removed unnecessary if condition * updated learning.py * fixed imports * removed unnecessary imports * fixed keras imports * fixed typos * fixed learning_curve * added comments * fixed typos * removed inf and isclose definition from utils and replaced with numpy.inf and numpy.isclose * fixed doctests * fixed numpy imports * fixed superclass call * removed utils import from 4e py file * removed unnecessary norm function in utils and fixed Activation definition * removed unnecessary clip function * removed unnecessary import and functions from utils * added tests and fxed some functions * fixed doc * fixed typos in gui folder * removed unnecessary Keras classes and updated pytest.ini * fixed some details * readded Keras classes * fixed import * fixed some parameters * removed unnecessary superclass * fixed neural net * added LinearLearner, LogisticLearner with tests and fixed NeuralNetLearner and PerceptronLearner * removed random_weights and substituted with np.random.uniform * fixed imports * Revert "fixed imports" This reverts commit aaf9c7b. * Revert "removed random_weights and substituted with np.random.uniform" This reverts commit 70d662b. * revert * fixed typo * fixed .ini and DecisionTreeLearner * fixed tests * removed main and fixed AutoencoderLearner * revert NeuralNetLearner and PerceptronLearner definition * fixed all tests and removed Learner class * fixed tests * fixed tests * fixed tests * fixed some function definition * fixed verbose definition * fixed tests * fixed tests * fixed tests * updated .travis.yml * fixed .travis.yml * fixed .travis.yml * fixed all tests * fixed requirements.txt * fixed .travis.yml * update .travis.yml * rollback .travis.yml * rollback tests * fixed output layer with softmax as activation function * updated yml * updated requirements.txt * fixed svc * fixed syntax warns * fixed syntax warns * removed 3.8 * added python 3.8 support * fixed doctests * fixed spaces and doctest * added SVR with r2 and accuracy metrics * fixed imports * fixed tests * removed not allowed imports * fixed * fixed keras * fixed * updated requirements.txt
…aph_search_for_vis method (#1242)
Sourcery Code Quality Report❌ Merging this PR will decrease code quality in the affected files by 2.86%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
111