How it works...

The hierarchical N-Gram predictor works almost exactly like its predecessor, the difference being that it holds a set of predictors and computes each main function using its children. Each method works by decomposing the set of available actions, and, whether by registering sequences or finding out the most likely future action, each method works by decomposing the set of actions and feeding the children with them.

Get Unity 2018 Artificial Intelligence Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.