Skip to content

About

Julia implementations of the algorithms of Russell and Norvig's "Artificial Intelligence: A Modern Approach"

Topics

Resources

Contributing

Stars

129 stars

Watchers

17 watching

Forks

Latest commit

 

History

490 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aima-julia tests license Binder

Julia code for the book Artificial Intelligence: A Modern Approach.

Installation

The code runs on Julia 1.10 (LTS) and later, and the CI runs the tests on the LTS and on the latest release. The package aima reads the datasets of the aima-data submodule when it is loaded, so it is installed from a clone that includes the submodule (Pkg.add(url=...) does not work, since Pkg cannot check out a repository with a submodule):

git clone --recurse-submodules https://github.com/aimacode/aima-julia.git
julia -e 'using Pkg; Pkg.develop(path="aima-julia")'
julia -e 'using aima'

In an existing clone, git submodule update --init fetches the datasets. The tests read the datasets from test/aima-data, a link to the submodule; from the root of the clone, Pkg.test runs them all and julia --project test/runtests.jl search runs a single file:

ln -s ../aima-data test/aima-data
julia --project -e 'using Pkg; Pkg.test()'

Notebooks

The Jupyter (IJulia) notebooks kl.ipynb, nlp_apps.ipynb, planning.ipynb, probability.ipynb and text.ipynb explain and demonstrate the code; each starts with include("src/aima.jl") and runs from the root of the repository, also online on Binder.

Index of algorithms

The table has one row per algorithm, in the order of the book, and the same rows in all the aimacode repositories. The column Figure gives the figure of the 4th edition or, followed by "(3e)", the one of the 3rd edition when the pseudocode of the algorithm is only there; § gives the section of the 4th edition of an algorithm described in the text, and — marks an algorithm that is not in the book. The names link to the pseudocode in aima-pseudocode.

Figure Name (in 4th edition) Code Tests
2.7 TABLE-DRIVEN-AGENT TableDrivenAgentProgram run_agent_tests.jl
2.8 REFLEX-VACUUM-AGENT ReflexVacuumAgent run_agent_tests.jl
2.10 SIMPLE-REFLEX-AGENT SimpleReflexAgentProgram run_agent_tests.jl
2.12 MODEL-BASED-REFLEX-AGENT ModelBasedReflexAgentProgram run_agent_tests.jl
§2.1 Table-Driven-Vacuum-Agent TableDrivenVacuumAgent run_agent_tests.jl
§2.4.2 Random-Agent-Program RandomAgentProgram run_agent_tests.jl
§2.4.2 Random-Vacuum-Agent RandomVacuumAgent run_agent_tests.jl
§2.4.3 Model-Based-Vacuum-Agent ModelBasedVacuumAgent run_agent_tests.jl
— Environment-Simulator run run_game_tests.jl
3.7 BEST-FIRST-SEARCH best_first_graph_search run_search_tests.jl
3.9 BREADTH-FIRST-SEARCH breadth_first_search run_search_tests.jl
3.9 UNIFORM-COST-SEARCH uniform_cost_search run_search_tests.jl
3.12 DEPTH-LIMITED-SEARCH depth_limited_search run_search_tests.jl
3.12 ITERATIVE-DEEPENING-SEARCH iterative_deepening_search run_search_tests.jl
3.14 BIBF-SEARCH bidirectional_best_first_search run_search_tests.jl
3.22 RECURSIVE-BEST-FIRST-SEARCH recursive_best_first_search run_search_tests.jl
3.1 (3e) SIMPLE-PROBLEM-SOLVING-AGENT SimpleProblemSolvingAgentProgram run_search_tests.jl
3.7 (3e) TREE-SEARCH tree_search run_search_tests.jl
3.7 (3e) GRAPH-SEARCH graph_search run_search_tests.jl
§3.1 Romania romania run_search_tests.jl
§3.2.1 Eight-Puzzle EightPuzzle run_search_tests.jl
§3.2.1 N-Queens-Problem NQueensProblem run_search_tests.jl
§3.2.2 Traveling-Salesman-Problem TravelingSalesman run_search_tests.jl
§3.4.3 Depth-First-Search depth_first_graph_search run_search_tests.jl
§3.4.5 Bidirectional-Search bidirectional_search run_search_tests.jl
§3.5.1 Greedy-Best-First-Search greedy_best_first_graph_search run_search_tests.jl
§3.5.2 A*-Search astar_search run_search_tests.jl
§3.5.5 SMA* sma_star_search run_search_tests.jl
§3.5.5 Iterative-Deepening-A*-Search iterative_deepening_astar_search run_search_tests.jl
— Pour-Problem PourProblem run_search_tests.jl
— Grid-Problem GridProblem run_search_tests.jl
4.2 HILL-CLIMBING hill_climbing run_search_tests.jl
4.4 SIMULATED-ANNEALING simulated_annealing run_search_tests.jl
4.7 GENETIC-ALGORITHM genetic_algorithm run_search_tests.jl
4.10 AND-OR-GRAPH-SEARCH and_or_graph_search run_search_tests.jl
4.20 ONLINE-DFS-AGENT OnlineDFSAgentProgram run_search_tests.jl
4.23 LRTA*-AGENT LRTAStarAgentProgram run_search_tests.jl
§4.1.1 Stochastic-Hill-Climbing stochastic_hill_climbing run_search_tests.jl
§4.1.1 First-Choice-Hill-Climbing first_choice_hill_climbing run_search_tests.jl
§4.1.1 Random-Restart-Hill-Climbing random_restart_hill_climbing run_search_tests.jl
§4.1.3 Local-Beam-Search local_beam_search run_search_tests.jl
§4.3.1 Erratic-Vacuum-World vacuum_world run_search_tests.jl
§4.5.1 Online-Search-Problem OnlineSearchProblem run_search_tests.jl
§4.5.3 One-Dimensional-State-Space one_dim_state_space run_search_tests.jl
— Peak-Finding-Problem PeakFindingProblem run_search_tests.jl
5.3 MINIMAX-SEARCH minimax_decision run_game_tests.jl
5.7 ALPHA-BETA-SEARCH alphabeta_full_search run_game_tests.jl
5.11 MONTE-CARLO-TREE-SEARCH monte_carlo_tree_search run_game_tests.jl
§5.3.2 Alpha-Beta-Cutoff-Search alphabeta_search run_game_tests.jl
§5.3.2 Iterative-Deepening-Alpha-Beta iterative_deepening_alphabeta_search run_game_tests.jl
§5.5 Expectiminimax expectiminimax run_game_tests.jl
— Random-Player random_player run_game_tests.jl
— Play-Game play_game run_game_tests.jl
— Tic-Tac-Toe TicTacToeGame run_game_tests.jl
6.3 AC-3 AC3 run_csp_tests.jl
6.5 BACKTRACKING-SEARCH backtracking_search run_csp_tests.jl
6.9 MIN-CONFLICTS min_conflicts run_csp_tests.jl
6.11 TREE-CSP-SOLVER tree_csp_solver run_csp_tests.jl
§6.1.1 Map-Coloring-CSP MapColoringCSP run_csp_tests.jl
§6.1.3 Cryptarithmetic two_two_four, send_more_money run_csp_tests.jl
§6.2.6 Sudoku SudokuCSP run_csp_tests.jl
§6.3.1 Variable-And-Value-Ordering minimum_remaining_values, least_constraining_values run_csp_tests.jl
§6.3.2 Forward-Checking forward_checking run_csp_tests.jl
§6.3.2 Maintaining-Arc-Consistency maintain_arc_consistency run_csp_tests.jl
§6.4 N-Queens-CSP NQueensCSP run_csp_tests.jl
§6 Zebra ZebraCSP run_csp_tests.jl
— AC-3b AC3b run_csp_tests.jl
— AC-4 AC4 run_csp_tests.jl
— Arc-Heuristics no_arc_heuristic, dom_j_up run_csp_tests.jl
— N-ary-CSP NaryCSP run_csp_tests.jl
— GAC-Domain-Splitting ACSolver run_csp_tests.jl
— AC-Search-Solver ACSearchSolver run_csp_tests.jl
— GAC-Heuristics no_heuristic, sat_up run_csp_tests.jl
— Crossword Crossword run_csp_tests.jl
— Kakuro Kakuro run_csp_tests.jl
7.1 KB-AGENT KnowledgeBaseAgentProgram run_logic_tests.jl
7.10 TT-ENTAILS tt_entails run_logic_tests.jl
7.13 PL-RESOLUTION pl_resolution run_logic_tests.jl
7.15 PL-FC-ENTAILS? pl_fc_entails run_logic_tests.jl
7.17 DPLL-SATISFIABLE? dpll_satisfiable run_logic_tests.jl
7.18 WALKSAT walksat run_logic_tests.jl
7.20 HYBRID-WUMPUS-AGENT HybridWumpusAgentProgram run_logic_tests.jl
7.22 SATPLAN sat_plan run_logic_tests.jl
§7.5.2 Convert-to-CNF to_conjunctive_normal_form run_logic_tests.jl
— DPLL-Branching-Heuristics moms, momsf, posit, zm, dlis, dlcs, jw, jw2 run_logic_tests.jl
— CDCL cdcl_satisfiable run_logic_tests.jl
— Restart-Strategies no_restart, luby, glucose run_logic_tests.jl
— Map-Coloring-SAT MapColoringSAT run_csp_tests.jl
9.1 UNIFY unify run_logic_tests.jl
9.3 FOL-FC-ASK fol_fc_ask run_logic_tests.jl
9.6 FOL-BC-ASK fol_bc_ask run_logic_tests.jl
9.8 APPEND append run_logic_tests.jl
§9.1 Subst substitute run_logic_tests.jl
§9.5.1 Convert-to-CNF-FOL fol_to_conjunctive_normal_form run_logic_tests.jl
§9.5.2 FOL-Resolution fol_resolution run_logic_tests.jl
§9.5.5 Demodulation demodulate run_logic_tests.jl
§9.5.5 Paramodulation paramodulate run_logic_tests.jl
§9.5.6 Subsumption subsumes, subsumption run_logic_tests.jl
— Unify-MM unify_mm run_logic_tests.jl
— Symbolic-Differentiation differentiate, simplify, differentiate_simplify run_logic_tests.jl
11.1 AIR-CARGO-TRANSPORT-PROBLEM air_cargo_pddl run_planning_tests.jl
11.2 SPARE-TIRE-PROBLEM spare_tire_pddl run_planning_tests.jl
11.4 BLOCKS-WORLD three_block_tower_pddl run_planning_tests.jl
11.7 REFINEMENT-HIGH-LEVEL-ACTIONS refinements run_planning_tests.jl
11.8 HIERARCHICAL-SEARCH hierarchical_search run_planning_tests.jl
11.11 ANGELIC-SEARCH angelic_search run_planning_tests.jl
11.13 JOB-SHOP-SCHEDULING-PROBLEM job_shop_scheduling_pddl run_planning_tests.jl
10.7 (3e) HAVE-CAKE-AND-EAT-CAKE-TOO-PROBLEM have_cake_and_eat_cake_too_pddl run_planning_tests.jl
10.9 (3e) GRAPHPLAN graphplan run_planning_tests.jl
§11.1.3 Three-Block-Tower three_block_tower_pddl run_planning_tests.jl
§11.2.1 Forward-State-Space-Search ForwardPlan run_planning_tests.jl
§11.2.2 Backward-State-Space-Search BackwardPlan run_planning_tests.jl
§11.2.4 Partial-Order-Planner partial_order_planner, PartialOrderPlan run_planning_tests.jl
§11.3 Planning-Heuristics ignore_delete_lists_heuristic run_planning_tests.jl
§11 Planning-Graph PlanningGraph run_planning_tests.jl
— SATPlan-Planning SATPlan run_planning_tests.jl
— CSPlan CSPlan run_planning_tests.jl
— Linearize linearize run_planning_tests.jl
12.1 DT-AGENT DecisionTheoreticAgentProgram run_probability_tests.jl
§12.3 Enumerate-Joint-Ask enumerate_joint_ask run_probability_tests.jl
13.11 ENUMERATION-ASK enumeration_ask run_probability_tests.jl
13.13 ELIMINATION-ASK elimination_ask run_probability_tests.jl
13.16 PRIOR-SAMPLE prior_sample run_probability_tests.jl
13.17 REJECTION-SAMPLING rejection_sampling run_probability_tests.jl
13.18 LIKELIHOOD-WEIGHTING likelihood_weighting run_probability_tests.jl
13.20 GIBBS-ASK gibbs_ask run_probability_tests.jl
§13.2.3 Hybrid-Bayesian-Network ContinuousBayesianNetworkNode run_probability_tests.jl
— Read-BIF read_bif run_probability_tests.jl
14.4 FORWARD-BACKWARD forward_backward run_probability_tests.jl
14.6 FIXED-LAG-SMOOTHING fixed_lag_smoothing run_probability_tests.jl
14.17 PARTICLE-FILTERING particle_filtering run_probability_tests.jl
§14.2.3 Viterbi viterbi run_probability_tests.jl
§14.4 Kalman-Filter kalman_filter, KalmanFilter run_probability_tests.jl
§14.5.3 DBN-Unrolling unroll run_probability_tests.jl
15.5 OUPM generate_citation_world run_probabilistic_programming_tests.jl
15.6 NET-VISA generate_seismic_world run_probabilistic_programming_tests.jl
15.9 RADAR generate_radar_world run_probabilistic_programming_tests.jl
15.11 GENERATE-IMAGE generate_image run_probabilistic_programming_tests.jl
15.15 GENERATE-MARKOV-LETTERS generate_markov_letters run_probabilistic_programming_tests.jl
16.9 INFORMATION-GATHERING-AGENT InformationGatheringAgentProgram run_probability_tests.jl
§16.5 Decision-Network DecisionNetwork run_probability_tests.jl
17.6 VALUE-ITERATION value_iteration run_mdp_tests.jl
17.9 POLICY-ITERATION policy_iteration run_mdp_tests.jl
17.16 POMDP-VALUE-ITERATION pomdp_value_iteration run_mdp_tests.jl
§17.1 Sequential-Decision-Environment sequential_decision_environment, GridMarkovDecisionProcess run_mdp_tests.jl
§17.2.2 Policy-Evaluation policy_evaluation run_mdp_tests.jl
§17.5.2 Dynamic-Decision-Network pomdp_lookahead run_mdp_tests.jl
18.1 DOUBLES-TENNIS-PROBLEM doubles_tennis_pddl run_planning_tests.jl
§18.2.1 Dominant-Strategy dominant_strategy run_game_theory_tests.jl
§18.2.1 Iterated-Dominance iterated_dominance run_game_theory_tests.jl
§18.2.1 Pure-Nash-Equilibria pure_nash_equilibria run_game_theory_tests.jl
§18.2.1 Zero-Sum-Game solve_zero_sum_game run_game_theory_tests.jl
§18.3.2 Shapley-Value shapley_value run_game_theory_tests.jl
§18.3.2 Core is_in_core run_game_theory_tests.jl
§18.4.1 Contract-Net-Protocol contract_net run_game_theory_tests.jl
§18.4.2 Vickrey-Auction vickrey_auction run_game_theory_tests.jl
§18.4.3 Voting plurality_winner, borda_winner, condorcet_winner run_game_theory_tests.jl
§18.4.4 Alternating-Offers-Bargaining alternating_offers_bargaining run_game_theory_tests.jl
19.5 LEARN-DECISION-TREE decision_tree_learning run_learning_tests.jl
19.8 MODEL-SELECTION cross_validation_wrapper run_learning_tests.jl
19.11 DECISION-LIST-LEARNING decision_list_learning run_learning_tests.jl
19.25 ADABOOST adaboost!, AdaBoostLearner run_learning_tests.jl
19.2 (3e) CURRENT-BEST-LEARNING current_best_learning run_kl_tests.jl
19.3 (3e) VERSION-SPACE-LEARNING version_space_learning run_kl_tests.jl
19.8 (3e) MINIMAL-CONSISTENT-DET minimal_consistent_determination run_kl_tests.jl
19.12 (3e) FOIL foil run_kl_tests.jl
§19.2.1 Restaurant-Data RestaurantDataSet run_learning_tests.jl
§19.6.1 Linear-Regression LinearRegressionLearner run_learning_tests.jl
§19.6.4 Perceptron-Learning PerceptronLearner run_learning_tests.jl
§19.6.5 Logistic-Regression LogisticLinearLearner run_learning_tests.jl
§19.7.1 K-Nearest-Neighbors NearestNeighborLearner run_learning_tests.jl
§19.7.5 Support-Vector-Machine SVC run_learning_tests.jl
§19.8 Ensemble-Learning EnsembleLearner run_learning_tests.jl
§19.8.2 Random-Forest RandomForest run_learning_tests.jl
§19.8.6 Weighted-Majority weighted_majority run_learning_tests.jl
§19 Learning-Curve learning_curve run_learning_tests.jl
— Support-Vector-Regression SVR run_learning_tests.jl
— Weighted-Replicate weighted_replicate run_learning_tests.jl
§20.2.2 Naive-Bayes NaiveBayesLearner run_learning_tests.jl
§20.3.1 EM-Gaussian-Mixture gaussian_mixture_em run_learning_tests.jl
§20.3.2 EM-Bayes-Net-Hidden-Variable naive_bayes_em run_learning_tests.jl
§20.3.3 Baum-Welch baum_welch run_probability_tests.jl
— Gaussian-Naive-Bayes NaiveBayesContinuousModel run_learning_tests.jl
18.24 (3e) BACK-PROP-LEARNING back_propagation_learning! run_learning_tests.jl
§21.1 Dense-Network DeepNeuralNetworkLearner run_deep_learning_tests.jl
§21.3 Convolution-Pooling-Batch-Normalization ConvLayer1D, MaxPoolingLayer1D, BatchNormalizationLayer run_deep_learning_tests.jl
§21.4 Stochastic-Gradient-Descent stochastic_gradient_descent run_deep_learning_tests.jl
§21.4 Adam-Optimizer adam run_deep_learning_tests.jl
§21.6 Recurrent-Neural-Network SimpleRNNLearner run_deep_learning_tests.jl
§21.7.1 Autoencoder AutoencoderLearner run_deep_learning_tests.jl
22.2 PASSIVE-ADP-AGENT PassiveADPAgentProgram run_rl_tests.jl
22.4 PASSIVE-TD-AGENT PassiveTDAgentProgram run_rl_tests.jl
22.8 Q-LEARNING-AGENT QLearningAgentProgram run_rl_tests.jl
§22.2.1 Direct-Utility-Estimation PassiveDUEAgentProgram run_rl_tests.jl
§22.3.1 Exploratory-ADP-Agent ExploratoryADPAgentProgram run_rl_tests.jl
§22.3.3 SARSA-Agent SARSALearningAgentProgram run_rl_tests.jl
23.5 CYK-PARSE cyk_parse run_nlp_tests.jl
23.8 SENTENCE-TREE sentence_tree run_nlp_tests.jl
22.1 (3e) HITS HITS run_nlp_tests.jl
§23.1 Viterbi-Segmentation viterbi_text_segmentation run_text_tests.jl
§23.1.2 N-Gram-Models NgramWordModel run_text_tests.jl
§23.1.3 N-Gram-Char-Model NgramCharModel run_text_tests.jl
§23.3 Chart-Parse Chart run_nlp_tests.jl
§23.3 Parsing-As-Search astar_search_parsing, beam_search_parsing run_nlp_tests.jl
§23 IR-System InformationRetrievalSystem run_text_tests.jl
— Shift-Decoder ShiftCipherDecoder run_text_tests.jl
— Permutation-Decoder PermutationCipherDecoder run_text_tests.jl
§25.3.1 Edge-Detection gradient_edge_detector, gaussian_derivative_edge_detector, laplacian_edge_detector run_perception_tests.jl
§25.3.3 Optical-Flow sum_squared_difference run_perception_tests.jl
§25.3.4 Segmentation probability_contour_detection, group_contour_detection, image_to_graph run_perception_tests.jl
§25.5 ROI-Pooling pool_rois run_perception_tests.jl
§25 Histogram-Of-Oriented-Gradients hog run_perception_tests.jl
26.6 MONTE-CARLO-LOCALIZATION monte_carlo_localization run_probability_tests.jl
29.1 (3e) POWERS-OF-2 powers_of_2 run_util_tests.jl

Data structures

Figure Name (in 4th edition) Code Tests
§2 Agent Agent run_agent_tests.jl
§2 Environment Environment run_agent_tests.jl
§2 XY-Environment XYEnvironment run_agent_tests.jl
§2 Vacuum-World TrivialVacuumEnvironment, VacuumEnvironment run_agent_tests.jl
§3 Problem Problem run_search_tests.jl
§3 Node Node run_search_tests.jl
§3 Queue Queue, FIFOQueue, PQueue, Stack run_util_tests.jl
§5 Stochastic-Game AbstractStochasticGame run_game_tests.jl
§5 Game AbstractGame run_game_tests.jl
§6 CSP CSP run_csp_tests.jl
§7 Wumpus-World WumpusEnvironment run_agent_tests.jl
§7 KB AbstractKnowledgeBase run_logic_tests.jl
§7 Propositional-Logic-Sentence Expression run_logic_tests.jl
§11 Planning-Problem PDDL run_planning_tests.jl
§12 Probability-Distribution ProbabilityDistribution run_probability_tests.jl
§13 Bayesian-Network BayesianNetwork run_probability_tests.jl
§14 Hidden-Markov-Model HiddenMarkovModel run_probability_tests.jl
§14 Dynamic-Bayesian-Network DynamicBayesianNetwork run_probability_tests.jl
§17 Markov-Decision-Process MarkovDecisionProcess run_mdp_tests.jl
§19 Data-Set DataSet run_learning_tests.jl
§20 Counting-Probability-Distribution CountingProbabilityDistribution run_learning_tests.jl
§23 Grammar Grammar run_nlp_tests.jl
§23 Probabilistic-Grammar ProbabilityGrammar run_nlp_tests.jl

Exercises

This table lists the exercises of aima-exercises whose answer a program can check, with the same tests in all the repositories; the chapters are those of the 3rd edition, as on that site.

Chapter Exercises Tests
2. Intelligent Agents 2, 11, 12, 13, 14, 15 run_exercises_ch02_tests.jl
3. Solving Problems by Searching 2, 3, 4, 5, 6, 7, 8, 9, 11, 17, 18, 19, 20, 21, 22, 24, 26, 27, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 run_exercises_ch03_tests.jl
4. Beyond Classical Search 1, 3, 4, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16 run_exercises_ch04_tests.jl
5. Adversarial Search 2, 3, 7, 8, 9, 10, 11, 15, 16, 17, 18, 19, 20 run_exercises_ch05_tests.jl
6. Constraint Satisfaction Problems 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 14, 15, 16, 19, 20 run_exercises_ch06_tests.jl
7. Logical Agents 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35 run_exercises_ch07_tests.jl
8. First-Order Logic 6, 13, 17, 18, 33, 34 run_exercises_ch08_tests.jl
9. Inference in First-Order Logic 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29 run_exercises_ch09_tests.jl
10. Classical Planning 1, 3, 4, 5, 8, 10, 11, 16, 18 run_exercises_ch10_tests.jl
11. Planning and Acting in the Real World 3, 5, 7, 9, 10, 14, 15 run_exercises_ch11_tests.jl
12. Knowledge Representation 15, 16, 22, 28, 29 run_exercises_ch12_tests.jl
13. Quantifying Uncertainty 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 22, 23, 25, 26, 27, 28, 29, 30, 31 run_exercises_ch13_tests.jl
14. Probabilistic Reasoning 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 24 run_exercises_ch14_tests.jl
15. Probabilistic Reasoning over Time 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 20 run_exercises_ch15_tests.jl
16. Making Simple Decisions 1, 2, 3, 4, 6, 7, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 run_exercises_ch16_tests.jl
17. Making Complex Decisions 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 18, 19, 20, 21, 22, 25 run_exercises_ch17_tests.jl
18. Learning from Examples 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 run_exercises_ch18_tests.jl
19. Knowledge in Learning 1, 5, 7, 8 run_exercises_ch19_tests.jl
20. Learning Probabilistic Models 1, 2, 3, 5, 6, 8, 10, 11 run_exercises_ch20_tests.jl
21. Reinforcement Learning 1, 3, 6, 7, 9, 10, 11 run_exercises_ch21_tests.jl
22. Natural Language Processing 1, 2, 3, 4, 5 run_exercises_ch22_tests.jl
23. Natural Language for Communication 2, 3, 4, 6, 7, 10, 11, 12, 13, 14, 15, 19, 20, 21 run_exercises_ch23_tests.jl
24. Perception 5, 8 run_exercises_ch24_tests.jl
25. Robotics 1, 2, 4, 5, 7, 9, 10 run_exercises_ch25_tests.jl

Contributing

See CONTRIBUTING.md.

Authors

In order of the lines they wrote in the current files: Donato Meoli, Mikhail Jin, Utkarsh Patil; see also all the contributors.

Other aimacode projects

aima-python · aima-java · aima-csharp · aima-scala · aima-lisp · aima-javascript · aima-pseudocode · aima-exercises · aima-data · aima-glossary

About

Julia implementations of the algorithms of Russell and Norvig's "Artificial Intelligence: A Modern Approach"

Topics

Resources

Contributing

Stars

129 stars

Watchers

17 watching

Forks

Releases

Packages

Contributors

Languages