Listen

Description

(The below text version of the notes is for search purposes and convenience. See the PDF version for proper formatting such as bold, italics, etc., and graphics where applicable. Copyright: 2023 Retraice, Inc.)


Re77: Recap of TABLE-DRIVEN-AGENT
(AIMA4e p. 48)

retraice.com

An overview of Re65-Re69.
The agent program; its agent function; several Python implementations; definitions of various and sometimes confusing terms; the mathematical behavior of the look-up table; making Python do that math; the ECMP (English-Code-Math-Progress) cycle approach to technical learning.

Air date: Sunday, 11th Dec. 2022, 10:00 PM Eastern/US.

We're focusing on the math and code of AIMA4e^1 right now, December 2022.
This is in service of our plan to deep-dive the book from Jan.-Jun., 2023.

*CORRECTION*: The `agent function' is not `the smart part' of the agent program. "The agent function is an abstract mathematical description.... that maps any percept sequence to an action"; "the agent program is a concrete implementation [of the agent function], running within some physical system." (100!black!//Russell & Norvig (2020) pp. 37-37) Function: math. Program: code. [Correction at Jan 2nd, 2023.]

The AIMA4e TABLE-DRIVEN-AGENT is described on p. 48. The idea is that the agent program has a look-up table (a kind of `agent function') that tells it what to do in response to every percept it experiences, considering not just that percept but also the history of percepts leading up to it.

Re65: TABLE-DRIVEN-AGENT Part 1 (AIMA4e p. 48)^2

A basic agent program in both AIMA4e pseudocode and Python.
Comparison of the AIMA4e pseudocode and the official Python implementation; attempted definitions of program function, agent program, agent function, agent, architecture, program and memory.

Re66: TABLE-DRIVEN-AGENT Part 2 (AIMA4e p. 48)^3

A basic agent program in both AIMA4e pseudocode and Python.
More and better explanations and definitions of initialize, python dictionary, memory object, computer program function, mathematical function, and intelligent agent function; demonstration by running three ground-up Python implementations using the iPython interpreter; comments on the sentiment `always be coding'.

Re67: TABLE-DRIVEN-AGENT Part 3 (AIMA4e p. 48)^4

The mathematical fate of TABLE-DRIVEN-AGENT.
Explanation of the algebraic expression that counts the number of table entries necessary for any given table-driven agent; expansion, simplification and application of the expression to our example agent; description of the combinatorial explosion of the last term; amendment and correction of our use of the term `AI code'.

Re68: TABLE-DRIVEN-AGENT Part 4 (AIMA4e p. 48)^5

Computer, do the math.
Recommendations about controlling Python and Python package environments against future dependency problems; implementation of a Python for-loop to do the arithmetic of our table-size math expression for any number of percepts and percept events.

Re69: TABLE-DRIVEN-AGENT Part 5 (ECMP and AIMA4e p. 48)^6

A strategy for technical progress.
Reflections on tempting digressions in the study of AI; a four-part cycle (ECMP, English, Code, Math, Progress) for acquiring technical knowledge; reflections on `job-AI' and `war-AI', and future mobilizations for war.

_

References

Retraice (2022/11/29). Re65: TABLE-DRIVEN-AGENT Part 1 (AIMA4e p. 48). retraice.com.
https://www.retraice.com/segments/re65 Retrieved 30th Nov. 2022.

Retraice (2022/11/30). Re66: TABLE-DRIVEN-AGENT Part 2 (AIMA4e p. 48). retraice.com.
https://www.retraice.com/segments/re66 Retrieved 1st Dec. 2022.

Retraice (2022/12/01). Re67: TABLE-DRIVEN-AGENT Part 3 (AIMA4e p. 48). retraice.com.
https://www.retraice.com/segments/re67 Retrieved 2nd Dec. 2022.

Retraice (2022/12/02). Re68: TABLE-DRIVEN-AGENT Part 4 (AIMA4e p. 48). retraice.com.
https://www.retraice.com/segments/re68 Retrieved 3rd Dec. 2022.

Retraice (2022/12/03). Re69: TABLE-DRIVEN-AGENT Part 5 (ECMP and AIMA4e p. 48). retraice.com.
https://www.retraice.com/segments/re69 Retrieved 4th Dec. 2022.

Russell, S., & Norvig, P. (2020). Artificial Intelligence: A Modern Approach. Pearson, 4th ed. ISBN: 978-0134610993. Searches:
https://www.amazon.com/s?k=978-0134610993
https://www.google.com/search?q=isbn+978-0134610993
https://lccn.loc.gov/2019047498

Footnotes

^1 Russell & Norvig (2020).
^2 Retraice (2022/11/29). ^3 Retraice (2022/11/30). ^4 Retraice (2022/12/01). ^5 Retraice (2022/12/02). ^6 Retraice (2022/12/03).