Running the Action Tree - Deepstash

Running the Action Tree

Once we have the action tree, running the code is easy. Each action node has a function ‘execute’ which takes some input, does whatever the action should (including possibly calling sub action) and returns the action’s output. This is the interpreter in action. 

14

52 reads

CURATED FROM

IDEAS CURATED BY

mipham

Holiday representative

The idea is part of this collection:

Machine Learning With Google

Learn more about computerscience with this collection

Understanding machine learning models

Improving data analysis and decision-making

How Google uses logic in machine learning

Related collections

Similar ideas to Running the Action Tree

Action Tree vs AST

Put simply, the action tree is the AST with context. That context is info such as what type a function returns, or that two places in which a variable is used are in fact using the same variable. 

Because it needs to figure out and remember all this context, the code that g...

Break the obstacle down

  • A problem broken down is half way solved. E.g: if you don’t have enough money to get a mortgage, you could divide the obstacle into “too little income,” “high expenses,” and “expectations of future house.”
  • Address each category on its own.

Elon Musk: Tesla, SpaceX, and the quest for a Fantastic Future

Elon Musk: Tesla, SpaceX, and the quest for a Fantastic Future

Author: Ashlee Vance

Review: Vance does a commendable job of penning down life story of one of the most revered man of 21st century. He takes you deep into the details from Musk’s childhood in South Africa, all the way to Canada & the United States to show how he managed to thrive while bei...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates