... its best guess based on the behavior of previous users. ...
... there's an exercise in the book based on Herbert Benson, ...